Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Jul 22, 2024
1 parent 2652d5c commit 68a5356
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Writerside/hi.tree
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
<toc-element topic="AxRankMenu-Supported-Plugins.md"/>
</toc-element>
<toc-element topic="AxGraves.md">
<toc-element topic="AxGraves-How-to-Edit-the-Configuration.md"/>
<toc-element topic="AxGraves-Commands.md"/>
<toc-element topic="AxGraves-Permissions.md"/>
<toc-element topic="AxGraves-Configuration.md"/>
Expand Down Expand Up @@ -129,6 +130,8 @@
<toc-element topic="AxAuctions-Developer-API.md"/>
</toc-element>
<toc-element topic="AxRewards.md">
<toc-element topic="AxRewards-Creating-new-menus.md"/>
<toc-element topic="AxRewards-Adding-new-rewards.md"/>
<toc-element topic="AxRewards-Commands.md"/>
<toc-element topic="AxRewards-Configuration.md"/>
<toc-element topic="AxRewards-Placeholders.md"/>
Expand Down
3 changes: 2 additions & 1 deletion Writerside/topics/AxBoosters-Supported-Plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

`vanilla:potion_<name>`
- all the vanilla potions work (from /effects)
- [https://minecraft.wiki/w/Potion#ID](https://minecraft.wiki/w/Potion#ID)
- instead of multipliers, they are amplifiers
- for example, a potion with +200% multiplier will be a lvl 3 potion (because +0-99% is lvl 1)
- examples: Night Vision, Jump Boost, Speed, Haste & many more
Expand All @@ -23,7 +24,7 @@

`vanilla:attribute_<name>`
- all the attributes work (from /attribute)
- https://minecraft.wiki/w/Attribute (note that a lot of attributes are only available on 1.21)
- [https://minecraft.wiki/w/Attribute](https://minecraft.wiki/w/Attribute) (note that a lot of attributes are only available on 1.21)
- examples: Mining Speed, Walking Speed, Player Scale & many more

### Third party
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/AxBoosters-Updating-to-V3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- Try the updating process first on a test/local server.
- Take a backup of the axboosters folder.
- Check the console for errors, if you see any concerning AxBoosters errors, contact us.
- If you run a seasonal server, I would just recommend waiting with this update and starting clean, reconfiguring everything. Why? The new files are much cleaner and have some extra placeholders that you will not be able to see if you are updating from an old version. Of course, if this is not a problems for you, you can update.
- If you run a seasonal server, I would just recommend waiting with this update and starting clean, reconfiguring everything. Why? The new files are much cleaner and have some extra placeholders that you will not be able to see if you are updating from an old version. Of course, if this is not a problem for you, you can update.

### Updating process
- Stop the server
Expand Down
7 changes: 7 additions & 0 deletions Writerside/topics/AxGraves-How-to-Edit-the-Configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# How to Edit the Configuration?

**You can edit settings (like despawn time and messages) mentioned in [Configuration](AxGraves-Configuration.md) in a couple of simple steps:**
- Navigate to the **plugins/AxGraves** folder, here you can find the config.yml and the messages.yml
- Open the one that you would like to modify and you can make your changes.
- One you have changed everything that you wanted, make sure to save the file and run /axgraves reload
- It is useful to understand YAML syntax, but don't worry, we provide useful information in the console if something goes wrong.
19 changes: 19 additions & 0 deletions Writerside/topics/AxRewards-Adding-new-rewards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Adding new rewards

### Adding rewards is simple:
- Go to the menu where you want to add/edit rewards. (the menus can be found at plugins/AxRewards/menus)
- Copy one of the premade rewards from the default menu (or if you deleted it, you can still find it [on our github](https://github.com/Artillex-Studios/AxRewards/blob/master/src/main/resources/menus/default.yml))
- Make sure to change the name of the reward and the `slot` section (slots start from 0 and they go from top left to right)
- Change the things that you would like
- Reload the plugin with /axrewards reload
- And that's it!

### More information
- All the items use our [itembuilder](Item-Builder.md), you can use anything from it.
- It is possible to require a permission for claiming rewards, you can do it by setting the `permission` section.
- The `cooldown` section is required to make the reward claimable multiple times. This is defined in seconds. You can set it to -1 to make a reward never refresh.
- You can define rewards in the `claim-commands` section, it is a list, so you can add as many rewards as you would like. Also use %\player% for the player's name!
- There are 2 or 3 different items that you can set:
- `claimable` - This item is shown when the reward is claimable
- `unclaimable` - This item is shown if the reward is already claimed
- (optional) `no-permission` - This will only show if the reward has a permission and the player is missing it
12 changes: 12 additions & 0 deletions Writerside/topics/AxRewards-Creating-new-menus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Creating new menus

You can find all the menus in the plugins/AxRewards/menus folder.

To create a new one, all you need to to:
- Copy one of the existing menus (if you don't have it, you can take one from [our github](https://github.com/Artillex-Studios/AxRewards/blob/master/src/main/resources/menus/default.yml))
- Give it a different name
- Make sure to change the `open-commands` section
- Change the rewards (if you want)
- Reload the plugin with /axrewards reload

And this is all, the new menu will be avaliable with the /axrewards open &lt;menu> command (or with the command you defined)
2 changes: 1 addition & 1 deletion Writerside/topics/AxRewards-Placeholders.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
|-|-|
| Placeholder | Description |
| %\axrewards_collectable% | The number of uncollected rewards for the player |
| %\axrewards_collectable_&lt;menu>% | The number of uncollected rewards for the player |
| &percnt;axrewards_collectable_&lt;menu>% | The number of uncollected rewards for the player |
13 changes: 12 additions & 1 deletion Writerside/topics/Item-Builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@ On this page you can find every item related configuration that is possible to c

Note that you don't need to use all of these values at once, only material is required!

### Example:

```yaml
material: STICK
custom-model-data: 100
glow: true
lore:
- "&fthis is a lore,"
- "&eit can be multiple lines!"
```
### Material:
```yaml
material: DIAMOND
material: DIAMOND
```
* List of materials: [CLICK](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
Expand Down

0 comments on commit 68a5356

Please sign in to comment.