SHOW:
|
|
- or go back to the newest paste.
1 | - | on damage: |
1 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
2 | - | victim and attacker is player |
2 | + | # Shopkeepers Config |
3 | - | damage cause is attack |
3 | + | # Wiki: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Configuration |
4 | - | cancel event |
4 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
5 | - | if {play::%victim%} is true: |
5 | + | |
6 | - | if {oni.%attacker%} is true: |
6 | + | # The initial debugging state of the plugin. |
7 | - | set {oni.%attacker%} to false |
7 | + | debug: false |
8 | - | set {oni.%victim%} to true |
8 | + | |
9 | - | broadcast "&c&l%victim%さんが鬼になりました!" |
9 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
10 | - | execute console command "/nte player %victim% prefix &4" |
10 | + | # Shopkeeper Data |
11 | - | execute console command "/nte player %attacker% prefix &a" |
11 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
12 | - | stop |
12 | + | |
13 | - | else: |
13 | + | # The file encoding to use for the save file. If empty, your system's default |
14 | - | stop |
14 | + | # encoding will be used. If you have issues with the save file, such as special |
15 | - | else: |
15 | + | # characters not being saved correctly, try setting this option to 'UTF-8'. |
16 | - | stop |
16 | + | file-encoding: "UTF-8" |
17 | # Whether the save file shall get written every time a shopkeeper was edited. | |
18 | - | command /first: |
18 | + | # If disabled, saving will occur at 5 minute intervals and on plugin shutdown. |
19 | - | executable by: console |
19 | + | # If you have a large server with many players and/or many shopkeepers, it |
20 | - | trigger: |
20 | + | # might be a good idea to disable this for performance reasons. |
21 | - | broadcast "&a&l抽選中..." |
21 | + | save-instantly: true |
22 | - | wait 5 seconds |
22 | + | # Whether trades involving head items with custom textures get saved. Some |
23 | - | loop all players: |
23 | + | # bukkit / spigot versions had issues with saving custom head items in the |
24 | - | set {oni::%loop-player%} to a random player out of {play::*} |
24 | + | # past, which would result in corrupted save data. |
25 | - | delete {play::%{oni.%loop-player%}%} |
25 | + | skip-custom-head-saving: true |
26 | - | broadcast "&a&l%{oni.%loop-player%}%さんが鬼になりました!" |
26 | + | |
27 | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* | |
28 | - | command /play <player>: |
28 | + | # Plugin Compatibility |
29 | - | executable by: console |
29 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
30 | - | trigger: |
30 | + | |
31 | - | set {play::%player%} to true |
31 | + | # Whether the plugin shall periodically verify that all shopkeepers that should |
32 | - | broadcast "&a%player%さんが参加しました!" |
32 | + | # currently be spawned are actually present. This should only be enabled if you |
33 | - | if {play::*} is 2: |
33 | + | # have problems with shopkeepers disappearing. |
34 | - | broadcast "&aあと15秒で抽選を開始します!抽選開始以降は参加できません。" |
34 | + | enable-spawn-verifier: false |
35 | - | wait 15 seconds |
35 | + | # If enabled, Shopkeepers tries to bypass other plugins which deny mob spawning |
36 | - | execute console command "first" |
36 | + | # (ex. land protection plugins). |
37 | - | stop |
37 | + | bypass-spawn-blocking: true |
38 | - | else: |
38 | + | # If enabled, Shopkeepers tries to bypass other plugins which deny interaction |
39 | - | stop |
39 | + | # with the shopkeepers. |
40 | bypass-shop-interaction-blocking: false | |
41 | - | command /start: |
41 | + | |
42 | - | executable by: console |
42 | + | # If enabled, players will only be able to place shopkeepers where they have |
43 | - | trigger: |
43 | + | # permission from WorldGuard to build or where the 'allow-shop' flag is set. |
44 | - | loop {play::*}: |
44 | + | enable-world-guard-restrictions: false |
45 | - | teleport loop-player to location (492, 4, 175) |
45 | + | # If enabled (additionally to the enable-world-guard-restrictions setting), |
46 | - | broadcast "&b20秒後に鬼が解放されます..." |
46 | + | # players will only be able to place shopkeepers in regions where the |
47 | - | wait 20 seconds |
47 | + | # 'allow-shop' flag is set, but nowhere else. However, players will still require |
48 | - | teleport {oni::*} to location (492, 4, 175) |
48 | + | # chest access for shop setup to work. And in case they can't place chests in |
49 | - | broadcast "&b&l鬼が解放されました!" |
49 | + | # the affected region, shop chests need to be pre-setup by someone else and the |
50 | - | wait 30 seconds |
50 | + | # require-chest-recently-placed setting needs to be disabled. |
51 | - | broadcast "&a残り一分..." |
51 | + | require-world-guard-allow-shop-flag: false |
52 | - | wait 30 seconds |
52 | + | # If enabled, players will only be able to place shopkeepers in places that |
53 | - | broadcast "&a残り三十秒..." |
53 | + | # have been designated as commercial areas by Towny. |
54 | - | wait 15 seconds |
54 | + | enable-towny-restrictions: false |
55 | - | broadcast "&a残り十五秒..." |
55 | + | |
56 | - | wait 12 seconds |
56 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
57 | - | broadcast "&a3" |
57 | + | # Shop Creation (and removal) |
58 | - | wait 1 seconds |
58 | + | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
59 | - | broadcast "&a2" |
59 | + | |
60 | - | wait 1 seconds |
60 | + | # The item type used to create player shops. |
61 | - | broadcast "&a1" |
61 | + | shop-creation-item: MONSTER_EGG |
62 | - | wait 1 seconds |
62 | + | # The data value of the shop-creation item. -1 to ignore. |
63 | - | broadcast "&b&l終了!" |
63 | + | shop-creation-item-data: 0 |
64 | - | execute console command "end" |
64 | + | # The display name of the shop-creation item. Empty to ignore. |
65 | - | |
65 | + | shop-creation-item-name: "" |
66 | - | command /end: |
66 | + | # The item lore of the shop-creation item. Empty to ignore. |
67 | - | executable by: console |
67 | + | shop-creation-item-lore: [] |
68 | - | trigger: |
68 | + | # The required spawn-egg mob type of the shop-creation item (if the item is a |
69 | - | loop all players: |
69 | + | # spawn-egg). Empty to ignore, or invalid (ex. whitespace ' ') to only accept |
70 | - | teleport loop-players to location (467, 4, 192) |
70 | + | # empty spawn eggs (without any mob type assigned). |
71 | - | delete {play::*} |
71 | + | shop-creation-item-spawn-egg-entity-type: "VILLAGER" |
72 | - | delete {oni::*} |
72 | + | # Whether to prevent normal usage of the shop-creation item. Players with the |
73 | # bypass permission (usually admins) can bypass this. | |
74 | prevent-shop-creation-item-regular-usage: false | |
75 | # Whether clicking the delete button of a player shop gives the player the | |
76 | # shop-creation item back. | |
77 | deleting-player-shop-returns-creation-item: false | |
78 | ||
79 | # Whether to allow creating player shops with the /shopkeeper command. | |
80 | create-player-shop-with-command: false | |
81 | # This enables compatibility with other plugins that might restrict chest | |
82 | # access. | |
83 | simulate-right-click-on-command: true | |
84 | ||
85 | # Whether the selected chest must have been recently placed by the player | |
86 | # attempting to create the shopkeeper. | |
87 | require-chest-recently-placed: true | |
88 | # The maximum distance a player shopkeeper can be placed from its backing | |
89 | # chest. This cannot be set to a value greater than 50. | |
90 | max-chest-distance: 15 | |
91 | # Whether to protect player shop chests from being broken. Usually it is | |
92 | # recommended to keep this enabled. | |
93 | protect-chests: true | |
94 | # Whether to delete player shopkeepers when their backing chest is broken. | |
95 | delete-shopkeeper-on-break-chest: false | |
96 | ||
97 | # The default maximum number of shops a player can have. Set to 0 to allow any | |
98 | # number of shops. | |
99 | max-shops-per-player: 0 | |
100 | # A list of permission nodes that can be used to explicitly set the maximum | |
101 | # number of shops a specific player or group of players can have. Use the | |
102 | # shopkeeper.maxshops.<count> permission node pattern to use this feature. | |
103 | max-shops-perm-options: 5,15,25 | |
104 | ||
105 | # If enabled (set to a value greater than 0), Shopkeepers will check for and | |
106 | # remove the shops of inactive players once every plugin start. This setting | |
107 | # determines how many days ago a player's last login has to be in order for the | |
108 | # player to be considered inactive. | |
109 | player-shopkeeper-inactive-days: 0 | |
110 | ||
111 | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* | |
112 | # Shop (Object) Types | |
113 | # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* | |
114 | ||
115 | # A list of mob types which can be used for shopkeepers. Adding new mob types | |
116 | # to the defaults here is unsupported, as some mob types might not properly | |
117 | # work and can cause all kinds of issues. | |
118 | enabled-living-shops: | |
119 | - VILLAGER | |
120 | - COW | |
121 | - MUSHROOM_COW | |
122 | - SHEEP | |
123 | - PIG | |
124 | - CHICKEN | |
125 | - OCELOT | |
126 | - RABBIT | |
127 | - WOLF | |
128 | - SNOWMAN | |
129 | - IRON_GOLEM | |
130 | - POLAR_BEAR | |
131 | - SKELETON | |
132 | - STRAY | |
133 | - WITHER_SKELETON | |
134 | - SPIDER | |
135 | - CAVE_SPIDER | |
136 | - CREEPER | |
137 | - WITCH | |
138 | - ENDERMAN | |
139 | - ZOMBIE | |
140 | - ZOMBIE_VILLAGER | |
141 | - PIG_ZOMBIE | |
142 | - HUSK | |
143 | - GIANT | |
144 | - GHAST | |
145 | - SLIME | |
146 | - MAGMA_CUBE | |
147 | - SQUID | |
148 | - EVOKER | |
149 | - VEX | |
150 | - VINDICATOR | |
151 | - ILLUSIONER | |
152 | - PARROT | |
153 | ||
154 | # Whether mob shopkeepers make sounds. | |
155 | silence-living-shop-entities: true | |
156 | ||
157 | # Whether to show nameplates of mob shopkeepers. | |
158 | show-nameplates: true | |
159 | # Whether to always show nameplates. If disabled, nameplates will only be shown | |
160 | # when looking directly at the shopkeeper. Note: This might no longer work | |
161 | # since MC 1.8. | |
162 | always-show-nameplates: false | |
163 | # The prefix for nameplates (to help distinguish them from players). | |
164 | nameplate-prefix: "" |