I've added three user commands, at least one of them asked for on dev.rocket, as well as some minor changes;
runfeast - starts the feast right away
resetfeast - resets the feast
setfeast - set feast location
They all work as expected. setfeast takes a location from the config unless (by using the f param) forced to accept a maplocation.
I've added three functions to the main class, getLocations, getMapLocations and setNextLocation, the first two returns the private variables of the same name and the last one sets the private variable of the same name. These are used in the setfeast command.
I've added a Utils class for a Respond function to send a message back to the caller of the command, be it either console or player, without worrying about the caller in the commands themselves. It takes a caller argument and a message, and sends the response to either log (if console) or player.
Also i've made the readme a bit easier to read and added descriptions for the commands.
I've added three user commands, at least one of them asked for on dev.rocket, as well as some minor changes;
runfeast - starts the feast right away resetfeast - resets the feast setfeast - set feast location
They all work as expected. setfeast takes a location from the config unless (by using the f param) forced to accept a maplocation.
I've added three functions to the main class, getLocations, getMapLocations and setNextLocation, the first two returns the private variables of the same name and the last one sets the private variable of the same name. These are used in the setfeast command.
I've added a Utils class for a Respond function to send a message back to the caller of the command, be it either console or player, without worrying about the caller in the commands themselves. It takes a caller argument and a message, and sends the response to either log (if console) or player.
Also i've made the readme a bit easier to read and added descriptions for the commands.