|
| 1 | +--- |
| 2 | +description: The plugin's configuration files |
| 3 | +--- |
| 4 | + |
1 | 5 | # Configuration
|
2 | 6 |
|
| 7 | +## Config |
| 8 | + |
| 9 | +{% code title="config.yml" %} |
| 10 | +```yaml |
| 11 | +# EZPrestige version: 1.2.2 Main Configuration |
| 12 | +# |
| 13 | +# prestige_rank: <rank players are able to /prestige> |
| 14 | +# confirm_to_prestige: <true/false> |
| 15 | +# chat_integration: <true/false> |
| 16 | +# messages: <-customize your messages |
| 17 | +# valid placeholders: |
| 18 | +# %cost% - cost to prestige |
| 19 | +# %balance% - players balance |
| 20 | +# %prestige% - next prestige number |
| 21 | +# %displaytag% - next prestige displaytag |
| 22 | +# %prestigerank% - rank player needs to be to use /prestige |
| 23 | +# %rank% - players permission group |
| 24 | +prestige_rank: Free |
| 25 | +confirm_to_prestige: true |
| 26 | +chat_integration: true |
| 27 | +op_prestige_display_tag: '&8[&c999&8]' |
| 28 | +no_prestige_display_tag: '&8[&c0&8]' |
| 29 | +gui: |
| 30 | + use_prestiges_gui: true |
| 31 | + display_name: '&cPrestiges' |
| 32 | + size: 18 |
| 33 | + completed_prestige: |
| 34 | + material: STAINED_GLASS_PANE |
| 35 | + data: 13 |
| 36 | + amount: 1 |
| 37 | + display_name: '%displaytag%' |
| 38 | + lore: |
| 39 | + - '&acompleted' |
| 40 | + current_prestige: |
| 41 | + material: STAINED_GLASS_PANE |
| 42 | + data: 5 |
| 43 | + amount: 1 |
| 44 | + display_name: '%displaytag%' |
| 45 | + lore: |
| 46 | + - '&aYour current prestige' |
| 47 | + next_prestige: |
| 48 | + material: STAINED_GLASS_PANE |
| 49 | + data: 7 |
| 50 | + amount: 1 |
| 51 | + display_name: '%displaytag%' |
| 52 | + lore: |
| 53 | + - '&7Next prestige' |
| 54 | + - '&a$&f%cost%' |
| 55 | + unavailable_prestige: |
| 56 | + material: STAINED_GLASS_PANE |
| 57 | + data: 14 |
| 58 | + amount: 1 |
| 59 | + display_name: '%displaytag%' |
| 60 | + lore: |
| 61 | + - '&cPrestige to unlock' |
| 62 | + - '%displaytag%' |
| 63 | +messages: |
| 64 | + not_at_prestige_rank: |
| 65 | + - '&cYou need to be &f%prestigerank% &cto prestige!' |
| 66 | + not_enough_money: |
| 67 | + - '&cYou need &a$&f%cost% &cto prestige to &f%displaytag%&c!' |
| 68 | + confirm_prestige: |
| 69 | + - '&bAre you sure you want to prestige?' |
| 70 | + - '&bYour rank will reset and you will need to' |
| 71 | + - '&bstart over. Type &f/prestige &bto confirm!' |
| 72 | + last_prestige: |
| 73 | + - '&bYou are at the last prestige!' |
| 74 | + prestiges_command: |
| 75 | + completed_prestige: '&7%displaytag% &f- &aCompleted' |
| 76 | + current_prestige: '&7%displaytag% &f- &aCurrent prestige!' |
| 77 | + next_prestige: '&7%displaytag% &f- &a$&f%cost%' |
| 78 | + unavailable_prestige: '&7%displaytag% &f- &cPrestige to unlock!' |
| 79 | + header: |
| 80 | + - '&8&m-----------------------------------------------------' |
| 81 | + - '&cPrestige list:' |
| 82 | + footer: |
| 83 | + - '&8&m-----------------------------------------------------' |
| 84 | +``` |
| 85 | +{% endcode %} |
| 86 | +
|
| 87 | +## Prestiges |
| 88 | +
|
| 89 | +{% code title="prestiges.yml" %} |
| 90 | +```yaml |
| 91 | +# EZPrestige prestiges file |
| 92 | +# |
| 93 | +# YOU MUST INCLUDE A COMMAND TO ADD THE PERMISSION |
| 94 | +# ezprestige.prestige.<prestige> TO THE PLAYER IN ORDER FOR |
| 95 | +# EZPrestige TO KNOW WHAT PRESTIGE A PLAYER IS |
| 96 | +# IN EVERY prestige_commands LIST |
| 97 | +# |
| 98 | +# Prestige format: |
| 99 | +# |
| 100 | +# prestiges: |
| 101 | +# <prestigeName>: |
| 102 | +# prestige: <number> MUST START AT 1, NO DUPLICATE NUMBERS OR SKIPPING |
| 103 | +# cost: <amount> |
| 104 | +# display_tag: <prefix> |
| 105 | +# prestige_commands: |
| 106 | +# - <commands here> |
| 107 | +# |
| 108 | +# Use {prestige} in your chat formatting plugin to show the |
| 109 | +# display_tag if a player has a Prestige! |
| 110 | +# |
| 111 | +# valid placeholders for prestige_commands: |
| 112 | +# %cost% - cost to prestige |
| 113 | +# %balance% - players balance |
| 114 | +# %prestige% - next prestige number |
| 115 | +# %displaytag% - next prestige displaytag |
| 116 | +# %prestigerank% - rank player needs to be to use /prestige |
| 117 | +# %rank% - players permission group |
| 118 | +prestiges: |
| 119 | + prestige1: |
| 120 | + prestige: 1 |
| 121 | + cost: 100000 |
| 122 | + display_tag: '&8[&c1&8]' |
| 123 | + prestige_commands: |
| 124 | + - pex user %player% group remove %rank% |
| 125 | + - pex user %player% group add A |
| 126 | + - pex user %player% add ezprestige.prestige.1 |
| 127 | + - ezmsg &bYou are now &f%prestige%&b! |
| 128 | + - ezbroadcast &f%player% &bhas just prestiged to &f%displaytag%&b! |
| 129 | +``` |
| 130 | +{% endcode %} |
| 131 | +
|
0 commit comments