OPSystem, a plugin made for
BANNING
MALICIOUS people from your server, in which you can
create a
whitelist to put
people that you
trust and if players have
permissions and aren’t in the
whitelist, they will get
banned.
- You can
customize the
Ban Command in
config.yml
- You can specify which
permissions the player needs to have for being
banned from the server.
- You can
specify if the player will be banned if they have
OP.
-
Commands only executable from
console! (In a
future update there will be an
option to also support
commands in game!)
- Customize
commands prefix!
-
Checker timer (Can customize time in
config.yml)
-
YAML data storage supported!
SCREENSHOTS:
List Command
(Message costumizable)
Remove a player from whitelist
(Message costumizable)
Add a player to whitelist
(Message costumizable)
-
Commands:
/giveop (name) (ADMIN,MOD) - Select player name and what rank you will give it.
/removeop (name) (ADMIN,MOD) - Remove a player from whitelist specifying their rank.
/reloadopsystem - Reload plugin config and messages. (For editing file storage, make a restart of the server)
/listop - See with players are in the whitelist.
ALL COMMANDS ARE ONLY EXECUTABLE FROM CONSOLE
-
Code (YAML):
#############################
# OPSystem by ElAch#7699
#############################
Permissions for Admins
:
-
"*"
-
"essentials.*"
-
"permissions.*"
-
"plugman.*"
-
"litebans.*"
-
"essentials.*"
-
"minecraft.*"
-
"cratesplus.*"
-
"citizenscmd.*"
-
"citizens.*"
Permissions for Mods
:
-
"essentials.ban"
-
"essentials.mute"
-
"essentials.kick"
-
"essentials.kickall"
-
"litebans.ban"
-
"litebans.ipban"
-
"litebans.tempban"
# If set to true, it will ban operator players that are not in whitelist.
ban-op
: true
# Specify here the time to check all online players. (In seconds). It is recommended to put 5 seconds.
check-time
: 5
# Specify which type of storage you will use. (MySQL or YAML)
Type-Storage
:
"YAML"
# Put DataBase info here if you will use it.
Database:
host
:
"localhost"
port
: 3306
name
:
"OPSystem"
user
:
"ElAchido"
password
:
"MyPassword"
# PREFIX
prefix-message
:
"&4&lOPSystem &8» &f"
debug-message
:
"&e&lDEBUG &8» &f"
# COMMANDS HELP #
# /giveop (name) (ADMIN,MOD) - Select player name and what rank you will give it.
# /removeop (name) (ADMIN,MOD) - Remove a player from whitelist specifying their rank.
# /reloadopsystem - Reload plugin config and messages. (For editing file storage, make a restart of the server)
# /listop - See with players are in the whitelist.
# -------------------------------------------------- #
# ALL THESE COMMANDS ARE ONLY EXECUTABLE FROM CONSOLE
# ----- MESSAGES -----
help-remove-op
:
"&cUse: /removeop [name] [(ADMIN, MOD)]"
message-remove-op
:
"&cRemoved whitelist for player {player}"
help-give-op
:
"&cUse: /giveop [name] [(ADMIN, MOD)]"
message-give-op
:
"&cGived whitelist for player {player}"
message-reload
:
"&cConfig reload."
not-op
:
"&cUser is not in whitelist."
already-op
:
"&cPlayer already in whitelist."
no-data
:
"&cThere's no data."
format-list-1
:
"&8------ &cWHITELISTED PLAYERS &8------"
format-list-2
:
"&4&lADMINS&8:"
format-list-3
:
"&9&lMODS&8:"
format-list-4
:
"&8---------------------"
# --------------------
# COMMAND TO EXECUTE IF PLAYER WHIT PERMISSIONS IS NOT IN WHITELIST
Ban Command
:
"ban %player% &4&lSECURITY&f. -s"
If you need
support or any
suggestions for the plugin, feel free to join my minecraft
discord server and send me a
DM! (ElAch#7699)
DISCORD