How to prevent plugin/database leaks?

Status
This thread has been locked.

Nykorrin

i-
Premium
Feedback score
6
Posts
812
Reactions
299
Resources
0
Hello, I was wondering how to prevent plugin/database leaks, such as disabling the commands, /about (And with tab), /pl, and /plugin. I believe these can be done with the spigot of the server but I just need confirmation, also how to prevent database leaks such as people's IP's, etc.

Thank you.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Kieraaaan

Plugin Developer
Premium
Feedback score
7
Posts
463
Reactions
222
Resources
0
To disable /about, etc you can simply edit your commands.yml file in your server root directory.
Just open the file, it should look something like this:
Code:
# This is the commands configuration file for Bukkit.
# For documentation on how to make use of this file, check out the Bukkit Wiki at
# http://wiki.bukkit.org/Commands.yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
#    (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/
# Bug tracker: http://www.spigotmc.org/go/bugs

command-block-overrides: []
aliases:
  icanhasbukkit:
  - version $1-
Just add under '- version $1-'
Code:
  about:
  - []
And keep doing that for all the other commands, at the end the file should look like this:
Code:
# This is the commands configuration file for Bukkit.
# For documentation on how to make use of this file, check out the Bukkit Wiki at
# http://wiki.bukkit.org/Commands.yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
#    (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/
# Bug tracker: http://www.spigotmc.org/go/bugs

command-block-overrides: []
aliases:
  icanhasbukkit:
  - version $1-
  about:
  - []
  pl:
  - []
  plugins:
  - []

Take in mind this completely removes the commands so not even you will be able to use /pl.

 

Kieraaaan

Plugin Developer
Premium
Feedback score
7
Posts
463
Reactions
222
Resources
0
So of I did /about then clicked tab, would it still show the plugins?
No, basically the command doesn’t exist if you do what I told you to do.
 
Status
This thread has been locked.
Top