Information:
This plugin allows you to set a custom prefix in-game to trigger any command, similar to how a lot of Discord bots allow you to set the command prefix.
e.g. Instead of running '/help' in-game, you could use '!help' if the prefix '!' is set, but you can also set multiple prefixes at once.
This is only the first version, so there may be a few bugs or glitches that will get ironed out.
Features:
Download: https://majored.me/projects/desireprefix/latest/DesirePrefix.jar
Discord: https://discordapp.com/invite/gzaCZQe
Rights: By using this plugin, you hereby accept any and all terms set out by our licence. This licence prohibits the decompilation of this plugin, either for redistribution or reverse engineering. You must not resell, or redistribute this plugin without prior sought permission or consent from me, or claim it to be of your own work.
This plugin allows you to set a custom prefix in-game to trigger any command, similar to how a lot of Discord bots allow you to set the command prefix.
e.g. Instead of running '/help' in-game, you could use '!help' if the prefix '!' is set, but you can also set multiple prefixes at once.
This is only the first version, so there may be a few bugs or glitches that will get ironed out.
Features:
- Set multiple prefixes to trigger any command
- Triggers any other plugin or server commands (eg. /help, /op)
- Configure everything in-game or in the config
- Configure permissions and messages
- Disable the default '/' prefix
- Warns if there's a newer version
- Active support via DM or Discord server
- Robust and efficiently coded
- Daily, if not weekly updates
Code:
# ________ .__ __________ _____.__
# \______ \ ____ _____|__|______ ____\______ \_______ _____/ ____\__|__ ___
# | | \_/ __ \ / ___/ \_ __ \_/ __ \| ___/\_ __ \_/ __ \ __\| \ \/ /
# | ` \ ___/ \___ \| || | \/\ ___/| | | | \/\ ___/| | | |> <\
# /_______ /\___ >____ >__||__| \___ >____| |__| \___ >__| |__/__/\_ \
# \/ \/ \/ \/ \/ \/
#
# ______ ______ ______ ______ ______ ______ ______ ______ ______ ______
# /_____/ /_____/ /_____/ /_____/ /_____/ /_____/ /_____/ /_____/ /_____/ /_____/
# BOOLEAN / Whether or not any aspects of this plugin are enabled
settings.enabled: true
# BOOLEAN / Whether or not the default prefix [/] is enabled
settings.default-prefix.enabled: true
# STRING LIST / A list of custom prefixes for commands
settings.prefixes:
- "!"
- "%"
lang:
# STRING LIST / Messages to be displayed when someone tries to use the default prefix [/] while it's disabled
# VARIABLES: {PREFIXES} - A list of prefixes that are available
default.disabled:
- "&cYou cannot use the default command prefix."
- "&cAvailable prefixes: {PREFIXES}"
# STRING
perm:
all: desireprefix.*
reload: desireprefix.reload
save: desireprefix.save
enable: desireprefix.enabled
default-prefix.enable: desireprefix.defaultp.enable
prefix:
add: desireprefix.prefix.add
remove: desireprefix.prefix.remove
Download: https://majored.me/projects/desireprefix/latest/DesirePrefix.jar
Discord: https://discordapp.com/invite/gzaCZQe
Rights: By using this plugin, you hereby accept any and all terms set out by our licence. This licence prohibits the decompilation of this plugin, either for redistribution or reverse engineering. You must not resell, or redistribute this plugin without prior sought permission or consent from me, or claim it to be of your own work.
Attachments
-
ezgif-4-3adfd9cfb5e5.gif1.9 MB · Views: 133 -
ezgif-4-63e06c8d1b0d.gif2.4 MB · Views: 128 -
ezgif-4-72288f63127c.gif1.1 MB · Views: 127 -
ezgif-4-e21997454d5f.gif1.8 MB · Views: 136 -
Screenshot 2018-12-29 at 16.50.43.jpg25.8 KB · Views: 116 -
Screenshot 2018-12-29 at 16.50.25.jpg76 KB · Views: 116 -
Screenshot 2018-12-29 at 16.22.23.jpg119.4 KB · Views: 109
