FEATURES:
PERMISSIONS:
COMMANDS:
DEPENDENCIES:
MISCELLANEOUS:
CONFIG.YML:
- Allow players to receive rewards in game when liking your server on NameMC!
- Customize the commands executed when a player likes your server with placeholders
- Optional PlaceholderAPI support for commands
- Likes are saved in config to prevent multiple likes
- Change whether the player has liked your server in config or with commands
- Likes are checked on a configurable interval to prevent lag and errors
- Refresh interval can be skipped with in-game command
- If your ip is null in config (as default or otherwise), the plugin will disable! To fix, add an ip and use /reload or restart your server.
- This plugin should work for all versions of Minecraft, but has been officially tested as marked.
- Short and easy config
PERMISSIONS:
- Help menu: NameMCLikes.help
- Reload configs and managers: NameMCLikes.reload
- Change the like status of a player in config: NameMCLikes.setlike
- Skip the timer for checking likes: NameMCLikes.skiptimer
COMMANDS:
- namemc: get the link for the server on NameMC
- namemc help: see the NameMC help menu
- namemc reload: reload all configs and managers
- namemc skiptimer: skip the refresh timer
- namemc setlike <playername> <true|false>: change the like status of a player in config
DEPENDENCIES:
- PlaceholderAPI: add placeholders to all commands (softdepend - not required)
MISCELLANEOUS:
- Author: Katnissali#1487
CONFIG.YML:
YAML:
messages:
prefix: '&f[&aNameMC&f]&r '
no-permission: '&cYou do not have permission to do this!'
link-message: '%prefix%The NameMC link is %namemc-link%.' # USES PLACEHOLDER %namemc-link%
# FORMAT COMMANDS
placeholderapi-enabled: true
# LIMITS WEB REQUESTS TO PREVENT LAG
refresh-interval: 60 # SECONDS
ip: ''
# FORMATTED WITH PAPI
# always has %playername% and %prefix% placeholders regardless of PAPI
on-like-cmds:
- 'say %prefix%%playername% voted on NameMC!'
config-version: '1.0.0'