ModTools
2The Ultimate Moderation Plugin using MySQL and interact between Spigot and BungeeCord
What is ModTools?
ModTools is a plugin using a MySQL database and interacting between Spigot and Bungeecord. It is composed of a moderation hotbar, sanctions commands and a stafflist.
===============================================
Tutorial
- Install the plugin in the "plugins" folders of your Spigot servers and your Proxy (Bungeecord)
- Open a MySQL database (with WampServer)
- Launch your servers for the first time
- Then configure the configs as you wish
BungeeCord Config:
Messages:
start-message: '&aThe ModTools Plugin part bungeecord has been enabled.'
close-message: '&aThe ModTools Plugin part bungeecord has been disabled.'
PlayerNeverConnected: '&cError: This player has never connected.'
PlayerNotConnected: '&cError: This player is not connected.'
command:
staff: '&c[Staff] &fStaff online: %list%'
kick:
syntax: '&cSyntax: /kick <username> (reason)'
kick: '&cYou have kicked %name%.'
kick-reason: '&cYou have kicked %name% for %reason%.'
kick-message: '&cYou had been kicked by %author%'
kick-reason-message: '&cYou had been kicked for %reason% by %author%'
ban:
syntax: '&cSyntax: /ban <username> <duration>:<unity>/perm <reason>'
PlayerAlreadyBanned: '&cError: This player has been already banned.'
ban-perm: '&aYou have banned %name% for a duration of &cpermanent &afor &c%reason%'
ban: '&aYou have banned %name% for a duration of &c%duration% %unit% &afor &c%reason%'
kick: "&cYou're banned for %reason% \nduring %duration% \nby %author% \n\n&8ServerName\
\ - %when% - %uuid%"
mute:
syntax: '&cSyntax: /mute <username> <duration>:<unity>/perm <reason>'
PlayerAlreadyMuted: '&cError: This player has been already muted.'
mute: '&aYou have muted %name% for a duration of &c%duration% %unit% &afor &c%reason%'
target:
mute: "&cYou had been muted \n&cfor &c%reason%"
bypass:
message: '&cYou are muted.'
hover: "&cReason: &f%reason% \n&cBy: &f%author% \n&cAt: &f%when% \n&cDuration:\
\ &f%duration%"
unban:
syntax: '&cSyntax: /unban <username>'
PlayerIsNotBanned: '&cSyntax: This player is not banned.'
unban: '&8[&a&l✔&8] &aYou have unbanned %name%.'
unmute:
syntax: '&cSyntax: /unmute <username>'
PlayerIsNotMuted: '&cSyntax: This player is not muted.'
unmute: '&8[&a&l✔&8] &aYou have unmuted %name%.'
ErrorMessages:
PlayerOnly: '&cYou cannot execute this command here.'
FalseArgs: '&cError: The argument ''''&f%args% &c''''is not recognized!'
HasNotPermission: '&cYou have not the permission to execute this command.'
TimeUnit:
Second: Second(s)
Minute: Minute(s)
Hour: Hour(s)
Day: Day(s)
Mouth: Mouth
messages:
durationIsNumber: '&cError: The value ''duration'' must to be a number !'
unityNotExist: '&cError: This unity of time doesn''t exist !'
mysql:
host: localhost
port: 3306
database: database
user: root
password: ''
Spigot Config:
[/COLOR]# Plugin Settings
prefix: '&cModTools &f>&r '
# MySQL
mysql:
host: localhost
port: 3306
database: database
user: root
password: ''
# Mode moderation status
ri2: false
gamemode: 1
fly: true
# Messages
start-message: '&aThe ModTools Plugin has been enabled successfully.'
close-message: '&aThe ModTools Plugin has been correctly disabled.'
ModerationTools:
Init: '&aModeration Mode has been enabled. It will take effect on the next server change.'
Destroy: '&cModeration Mode has been disabled. It will take effect on the next server change.'
ErrorMessages:
PlayerOnly: '&cYou cannot execute this command here.'
HasNotPermission: '&cYou have not the permission to execute this command.'
FalseArgs: '&cError: The argument ''&f%args% &c''is not recognized!'
NumberException: '&cError: It must to be a number.'
# Gamemode command
Gamemode:
syntax: "&cSyntax: /gamemode <number>"
AlreadyInTheGamemode-message: "&cYou are already in this game mode."
GamemodeUpdated-message: "&aYour game mode has been updated."
# Moderation Items
Knockback:
name: "&cKnockback IV"
lore: "&7What you choose."
item: WOOD_SWORD
slot: 1
knockback: 4
use: true
Follow:
name: "&6Follow"
lore: "&7What you choose."
item: LEASH
slot: 2
use: true
Invsee:
name: "&8Inventory"
lore: "&7What you choose."
item: CHEST
slot: 3
use: true
inventory-name: "&8%name% > Inventory"
inventory-size: 5*9
Vanish:
name: "&aVanished"
lore: "&7What you choose."
item: NOTE_BLOCK
slot: 4
use: true
vanish: "&aYou are now invisible!"
unvanish: "&cYou are now visible!"
Random-tp:
name: "&aRandom teleportation"
lore: "&7What you choose."
item: ENDER_PEARL
slot: 5
use: true
size-empty: "&cThere are no players to teleport to."
teleport-to: "&aYou have been teleported to &e%name%"
Freeze:
name: "&bFreeze"
lore: "&7What you choose."
item: PACKED_ICE
slot: 6
use: true
unfreeze:
player: "&aYou have unfreeze &e%name%"
target: "&aYou have been unfreeze by %player_name%"
freeze:
player: "&bYou have freeze &e%name%"
target: "&bYou have been freeze by %player_name%"
Runner:
name: "&6Runner"
lore: "&7What you choose."
item: COMPASS
slot: 7
use: true
maxDistance: 50
Killer:
name: "&3Killer"
lore: "&7What you choose."
item: BLAZE_ROD
slot: 8
use: true[COLOR=rgb(0, 0, 0)]
Permissions:
To access all commands you will need to be an operator on your spigot servers and your BungeeCord.
Staff List & Command /staff:
modtools.stafflist
modtools.command.staff
Ban & Unban Commands:
modtools.command.ban
modtools.command.unban
Mute & Unmute Commands:
modtools.command.mute
modtools.command.unmute
Kick Command:
modtools.command.kick
Moderation mode Command:
modtools.command.mod
Gamemode Command:
modtools.command.gamemode
Survival
modtools.command.gamemode_zero
Creative
modtools.command.gamemode_one
Adventure
modtools.command.gamemode_two
Spectator
modtools.command.gamemode_three
FAQ
Why when we mention a badly written nickname, the command does not work?
It's a Bungeecord's error.
What is 'ri2' in Spigot config?
This stands for "receive items immediately."
What is 'fly' in Spigot config?
This is a boolean to know if the player can fly even after being in moderation mode.
How to connect to a MySQL database?
To connect to a database, you must create a database with the given name of the config: mysql.yml. Launch the host and fill in the host, port, user and password.
Can we use code from the plugin?
Of course, github is made for that!
===============================================
Thanks for downloads and donations!
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