SudoAlias
SudoAlias
About
This plugin simply turns 1 or more complex commands into 1 simple command. This one simple command is called an alias. This plugin uses no NMS code/imports. This means it should be completely version independent, it should work on all future Bukkit builds. Also I promise to update this plugin for the official Minecraft API when it is released.
Commands & Permissions
Command | Description | Permission Node |
---|---|---|
/sudoalias | Tells you what version of SudoAlias is installed | None |
/sudoalias reload | Reloads the configuration | SudoAlias.reload |
"/sudoalias" can be replaced with "/sa" for convenience.
Config
SudoAlias offers a powerful configuration file. If you get lost (I tried to make it as simple as possible!), you can view a help page here on the GitHub Wiki (click).
Permissions
Permissions are generated using the form: SudoAlias.alias.<alias name>
So for example, the default alias included in the config.yml would have the following permission node: SudoAlias.alias.test
Donations
If you want to donate, you can do so here click me with PayPal. Donating is in no way required, it's just nice.
Source Code, Javadoc, and builds
All source code can be found on my Github repository found here: SudoAlias Github Repository Feel free to take code, fork, ect. Credits are appreciated.
This project also has Javadoc, this will help you if you want to contribute code to the project (open source!). The Javadoc is updated every time a build is scheduled View the Javadoc here.
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. You can grab the latest developer builds here. Whenever I push a commit to Github (upstream) a new build will be created automatically. However I recommend you stick to builds posted on here on BukkitDev as they are usually more stable.
While upgrading to a newer version PLEASE backup the SudoAlias folder inside of the plugins folder. I cannot be held responsible for any lost data during an upgrade. Please play it safe and backup.
I would like /vip <player> to promote sais player to a certain permissions rank and to add 2k to his/her account, would this be possible with this plugin? if yes, how?
@Mike724:
Cool, that's what I need :D
@ghac
Yes, that's already implemented. I know the documentation is poor/non-existent. Look at the default config.yml (https://github.com/Mike724/SudoAlias/blob/master/src/main/resources/config.yml) it's pretty simple to figure out how it works. Pretty much for the command you put a ? where an argument would go and for the runCommand you use $0 ($0, $1, $2, etc) to "fill" in the respective argument.
Is it possible to have arguments?
@HermitTurtle
Good to know!
Version 1.3.1 has been uploaded, it's pending Bukkit staff approval.
@Mike724
Thanks! This new version is working well so far.
@HermitTurtle
I have a build ready for you to test
@HermitTurtle
Do you have Skype? Add me, mikem724.
@Mike724
Refreshing 3 times a day. But I'm not impatient ;)
@HermitTurtle
I'll look into it further, and I will message you when I believe I have a fix so you can test it.
@Mike724
I did a little more research and I think I've narrowed things down a little.
I googled the following part of the error: 26.04 01:04:06 [Server] [Informatie] Caused by: java.lang.IllegalStateException: TickNextTick list out of synch
And came up with this: After a quick Google search of that error ("TickNextTick list out of synch"), it's generally caused by a plugin which is running an Async task through Bukkit which is doing something in Bukkit that needs to be synchronized.
All WorldBorder tasks are run Synchronized including the Fill task, so it would be another plugin triggering that error. Sadly for that sort of error it doesn't provide a useful stack trace which would point out the offending plugin, so it's up to you to figure out which one it is.
So could it be a synchronization issue caused by SudoAlias?
@HermitTurtle
I can't seem to reproduce it but my little test server is (probably) much more different than yours. Delay is working fine for me. Can you possibly setup a config.yml that causes this error without using worldboarder or multiverse commands in it?
@Mike724
No, it works fine outside SudoAlias. I used the same commands in the old SudoAlias without problems. Only then they were split over several alias'. So only difference, from what I can tell, is in the delay.
@HermitTurtle
It seems to look like a Multiverse issue, if you try manually entering all of the commands (not using SudoAlias at all), does it still give the same error?
@Mike724
I hope this is the right data...
@HermitTurtle
Oh, I found the option to attach files now. I'll add those shortly.
@Mike724
Yes, I can reproduce the error.
The WB command is from World Border. I use it to fill (pre-generate) chunks on maps.
@sajagrules
Haha, too bad it's open source!
Hey! SA is my initials. Therefore, this plugin is patented by me. Joking, but SA is really my initials.
@HermitTurtle
Can you send me the full config.yml, stack trace (the error in the console), and if there is anything you can do to reliably produce the error? This will help me fix the issue quicker
Also, what is the plugin that is using the "wb" command?