Lots of settings you can change when a player executes a command!
- Infinite list of commands to be modified (add as many as you wish to)
- Economy implemented!
- Fully commented and user-friendly config
- Ability to block a command
- Ability to charge for executing a command
- Ability send a message when executing a command
- Create a unique prefix for every command message (with ability to diasble it completely)
- Ability to play a sound when a command is executed
- RGB hex color codes support (1.16.1+)
- Check the example commands in config.yml!
Commands:
-/css version - Check plugin´s current version
-/css reload - Reloads the plugin´s files
-/css commands - Shows a list of commands modified
permissions:
-cmdsettings.version - Allows you to check the plugin's current version
-cmdsettings.reload - Allows you to reload the plugin
-cmdsettings.commands - Allows you to check the list of modified commands
-cmdsettings.CMD.bypass - With this permission, when a player executes a command the plugin will not afect the player, default for OPs (replace CMD with the command in config you want to bypass)
-cmdsettings.* - Gives access to every command available
config.yml
# # # # # # # # # # # # # # # # #
# CommandSettings #
# By lelesape #
# # # # # # # # # # # # # # # # #
# Some useful tips:
# -If you want to check for commands that start with the same word, just use the shorter command and use soft mode
# for example, if you want to check for fly and fly on, simply check for fly
# -If you do not want to use a specific feature for a command, simply delete it, for example,
# if you do not want a certain command to play a sound just don´t put "sound: ''" behind the command in config
# (The only fields needed are "cmd" and "mode")
# -You can make a player bypass the efects of this plugin by giving the player the permission cmdsettings.CMD.bypass
# and CMD = the cmd field, in the first example: cmdsettings.op.bypass
# -You can do as many commands as you like, more features to be added
# -In case this guide or any guide annoys you, delete it since it is not necessary for the plugin to function
# -list of 1.14 sounds: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# -CHECK PLUGIN'S PAGE FOR A COMMENTED CONFIG (it may help)
config:
prefix: '&f[&3CommandSettings&f]'
not enough money: '&cYou do not have enough money, you need: &e%amount%'
not enough money sound: BLOCK_ANVIL_DESTROY
no permission: '&cSorry, it looks like you do not have enough permissions'
unknown command: '&cUnknown command, please try &e/css help &cfor a list of commands'
default amount: 100
commands:
#Number ID of the command (Just for reference)
'0':
# the command the plugin will listen to
cmd: op
# the mode of listening (soft: plugin will listen for any command that starts with op. strict: the plugin will listen for any command that is exactly equal to op)
mode: soft
# should the original command be blocked?
blocked: true
# prefix for the plugin messages
prefix: '&f[&3CommandSettings&f]'
# the messages to be sent when executing the command (added multiple lines as requested in the discord official server)
message:
- '&6&lHey!'
- '&cWhy would you try that %player%??'
# Should the plugin charge to run this command?
charge: true
# How much should the plugin charge
amount: 10
# Sound to be played when executing the command
sound: BLOCK_NOTE_BLOCK_PLING
# Commands to be executed by the player when the trigger command is executed
replace cmds:
- spawn
# Permission needed to run the command
permission: permission.opcommand
# Message sent when a user lacks the permission specified
no permission message: '&4You need the permission &e%permission%&4'
'1':
cmd: fly
mode: strict
blocked: true
prefix: '&f[&3FlyManager&f]'
message:
- '&cPlease do &e/fly on&c or &e/fly off &cinstead'
permission: servername.fly
no permission message: '&4You cannot fly in this server'
'2':
cmd: fly on
mode: strict
blocked: true
prefix: '&f[&3FlyManager&f]'
message:
- '&2Fly activated. Charged: %amount%'
charge: true
amount: 100
sound: BLOCK_NOTE_BLOCK_PLING
permission: servername.fly
no permission message: '&4You cannot fly in this server'
'3':
cmd: fly off
mode: strict
prefix: '&f[&3FlyManager&f]'
message:
- '&2Fly deactivated'
permission: servername.fly
no permission message: '&4You cannot fly in this server'
'4':
cmd: pl
mode: soft
blocked: true
prefix: '&f[&3CommandSettings&f]'
message:
- '&cWhy would you want to check our plugins? Fined with &e%amount%'
charge: true
amount: 50
sound: ENTITY_VILLAGER_NO
'5':
cmd: bukkit:pl
mode: soft
blocked: true
message:
- '&fPlugins (4): &aEssentials&f, &aCommandSettings&f, &aCustomPlugin1&f, &aCustomPlugin2'
'6':
cmd: yt
mode: soft
blocked: true
prefix: '&f[&4Y&fT]'
message:
- '&chttp://bit.ly/2mwvHWN'
'7':
cmd: discord
mode: soft
blocked: true
prefix: '&f[&9discord&f]'
message:
- '&chttps://discordapp.com/invite/ZznhQud'If you review my plugin let me know so i can put your video here
- Add "/css add" command to add a new command in-game (DONE✅)
- Add config field "check mode" or similar, to check if the command simply starts with a word or it is entirely that word (for example, when you set "pl" it will check for "pl", "plugins" "playerlist", etc..) (DONE✅)
- Add more fields (DONE✅)
- Add a "commands" field, to run commands listed in config
- Accepting suggestions and ideas...
By using this plugin you agree to the following terms:
- You cannot sell this plugin
- You cannot claim this plugin as yours
- I can and will modify this terms at any time without any kind of notification
If you find any bugs please let me know, also make sure to rate this plugin, thank you!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta