Battle Shop
Introduction
Author: handy
Purchase Link: Afdian
Version Requirement: PlayerGuild-2.0.0+ version
Note: This addon depends on PlayerGuild guild-war events. Its source references legacy event APIs that are not present in PlayerGuild 2.22.3, which may cause compatibility issues. Test it before upgrading.
Feature Introduction
- Provides additional battle shop during guild battles for balancing and encouraging combat
- OPs hold an item and use
/plgs addShop [price]to list it;/plgs shopopens the shop and/plgs view shopmanages it - Shop points are only valid for the current match and are cleared when it ends; purchased items are not removed
- Run
/plgsto view command help. TheplayerGuildPvpShop.reloadpermission is required - PlayerGuild includes
plgs shopin the default whitelist. If an olderfunction/kitpvp.ymllacks it and command restrictions are enabled, add it manually
Configuration Introduction
yaml
# Match
match:
# Whether to enable
enable: true
# Fixed points given to players - set to 0 to disable
number: 100
# Total points divided equally among participants - set to 0 to disable
avgNumber: 1000
# Reward for killing enemy
kill: 50
# Season
season:
# Whether to enable
enable: true
# Fixed points given to players - set to 0 to disable
number: 500
# Total points divided equally among participants - set to 0 to disable
avgNumber: 5000
# Reward for killing enemy
kill: 100