Tutorial: Removing the sg Command Alias
Want to use a plugin like SurvivalGames or StarGate?
This tutorial will allow you to remove the /sg alias from the plugin, enabling the use of other plugins using the /sg command.
1. Download the latest SpamGuard jar file from the files page.
This tutorial will work with version 1.0 BETA-2.2 or later.
2. Make sure that you have a file archival program installed, such as 7-zip or WinRar.
This tutorial will use 7-Zip, but WinRar will work as well.
3. Make sure your server is shut down, if not, type /stop in the console and close the window after it is finished saving.
4. Locate the SpamGuard.jar file, found at this path: <server directory>/plugins/SpamGuard/SpamGuard.jar
5. Open the jar using your archival program.
That will open the file in your archival program.
6. Open the file called plugin.yml inside the archive.
7. I recommend using Notepad++ for editing .yml files
Next, find this line in the file:
aliases: [spamguard, sguard, sg]
Remove ', sg' from that line, leaving you with:
aliases: [spamguard, sguard]
8. Save the file (Find the 'File' menu at the top, File>Save).
Go to your 7-Zip window and this message should appear:
Click "Ok" to save the file in the archive.
And that's all! You can now start your server and use your other plugins that need the /sg alias.
thanks! this will help cos people can just use /spamguard and check if i have spamguard ;)