-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <menu> command (or with the command you defined) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters