Working on some customizations and have another request :smile.gif:
Would it be possible to get a property for a command to be run after the backup has been copied and the world released, but before the tmp directory is compressed? I'm thinking this would make a great place for the c10t script to be run, or any other arbitrary script for things to placed in with the backups. Currently, to get a map of the backed up world, I would have to find the lastest backup, decompress it, generate the images, add them to the existing archive, and then clear the temp. Having a command at this point would eliminate almost all of that and save me some I/O and CPU time.
Working on some customizations and have another request :smile.gif:
Would it be possible to get a property for a command to be run after the backup has been copied and the world released, but before the tmp directory is compressed? I'm thinking this would make a great place for the c10t script to be run, or any other arbitrary script for things to placed in with the backups. Currently, to get a map of the backed up world, I would have to find the lastest backup, decompress it, generate the images, add them to the existing archive, and then clear the temp. Having a command at this point would eliminate almost all of that and save me some I/O and CPU time.
yeah i've been pondering ways to basically establish before-after relationships for backups, saving, restarting, etc.
I don't have a clear solution yet, but it is something I am thinking about.
Working on some customizations and have another request :smile.gif:
Would it be possible to get a property for a command to be run after the backup has been copied and the world released, but before the tmp directory is compressed? I'm thinking this would make a great place for the c10t script to be run, or any other arbitrary script for things to placed in with the backups. Currently, to get a map of the backed up world, I would have to find the lastest backup, decompress it, generate the images, add them to the existing archive, and then clear the temp. Having a command at this point would eliminate almost all of that and save me some I/O and CPU time.
yeah i've been pondering ways to basically establish before-after relationships for backups, saving, restarting, etc.
I don't have a clear solution yet, but it is something I am thinking about.
The ways I see possible are either by putting in properties to allow users to specify their own scripts to run at points along the currently arbitrarily timed process, or by scheduling the entire process. The former would probably be the easiest to implement in code and may be a nice stop-gap solution, but the later would allow greater flexibility to the user. I imagine the later setting up a cron like scheduler where actions can be defined on either specific intervals ( every 5 minutes ) or at specific times ( on the half hour and/or hour ). Both of these would allow users to run their desired commands in the proper place, but I'm personally hoping to see the scheduler as that would other allow apps to run at defined times without interfering with the server processes or having to have a scripting interface for the server to call. Just my 2 cents
big announcement!
...
...
...
Warps have been implemented using SMP API and plugs right into SimpleServer, using its files and folders. It is almost seamless : O
It is also OPTIONAL! meaning if you don't want warps, just don't use it! : O
Testing on my server right now, will likely upload the files tonight or tomorrow night.
I think you may have to put the absolute path, rather than using ~
Try that, with quotes around the full path like "/path/to the/c10t"
Regarding the c10t function, using the absolute path doesn't help. The error has something to do with the space in the directory "Application Support"
Here's the error:
java.io.IOException: Cannot run program ""/users/username/Library/Application": error=2, No such file or directory
I get similar errors regardless of whether or not I use quotes. I can work around this when I execute a shell script by writing it as "Application\ Support" but when I enter a "\" into simpleserver.properties, it gets stripped out and turned into "Application Support"
I can always put c10t somewhere else for now, but this is likely to be a common issue for Mac users.
try Application\u0020Support
Unfortunately, looks like using \u0020 as a space character doesn't work for filepaths. Again, it gets stripped out and turned into a space in the .properties file after running the server. Also, you were right about not using ~, although that's a different issue. I'm using a symbolic link to get around this for now so it's not a big issue- just an FYI for others.
Also, I'll second infraded's comment about scheduling options. I'd love to be able to schedule saving/mapping/backing up based on real world time rather than relative to server launch so that we can define a sequence of events that runs at an easily identifiable time. Say run backup at the top of the hour, do mapping 5 minutes after that, etc…
With the nagging out of the way, the warping news sounds fantastic. I can't wait to see how it works.
At the moment, a group 10 member can set his own group to everything else he wants, as long as he has access to !setgroup.
Could you change that, so a group 10 member can't touch anything above his own group? (Including setting someone in a group above his own group).
We just set up some "Serverguards". They are capable of !setgroup because of the guest system. (Giving the newbies buildrights and such). However I don't trust them enough that they wouldn't change themselve to Admin or even Owner...
At the moment, a group 10 member can set his own group to everything else he wants, as long as he has access to !setgroup.
Could you change that, so a group 10 member can't touch anything above his own group? (Including setting someone in a group above his own group).
We just set up some "Serverguards". They are capable of !setgroup because of the guest system. (Giving the newbies buildrights and such). However I don't trust them enough that they wouldn't change themselve to Admin or even Owner...
CONSOLE: Disabling level saving..
java.io.FileNotFoundException: world/tmp_chunk.dat (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at simpleserver.ServerBackup.copyDirectory(ServerBackup.java:173)
at simpleserver.ServerBackup.copyDirectory(ServerBackup.java:168)
at simpleserver.ServerBackup.backupServer(ServerBackup.java:154)
at simpleserver.ServerBackup.backup(ServerBackup.java:79)
at simpleserver.ServerBackup.run(ServerBackup.java:54)
at java.lang.Thread.run(Thread.java:619)
[WARNING] Automated Server Backup Failure! Please run save-all and restart server!
CONSOLE: Disabling level saving..
java.io.FileNotFoundException: world/tmp_chunk.dat (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at simpleserver.ServerBackup.copyDirectory(ServerBackup.java:173)
at simpleserver.ServerBackup.copyDirectory(ServerBackup.java:168)
at simpleserver.ServerBackup.backupServer(ServerBackup.java:154)
at simpleserver.ServerBackup.backup(ServerBackup.java:79)
at simpleserver.ServerBackup.run(ServerBackup.java:54)
at java.lang.Thread.run(Thread.java:619)
[WARNING] Automated Server Backup Failure! Please run save-all and restart server!
As far as I've tested: yes.
c10tArgs will be the execution statement. It should use a fully qualified path for optimal results.
IE
/path/to/c10t
And then the args
so
c10tArgs=/path/to/c10t -w /path/to/world -o /path/to/map.png
As far as I've tested: yes.
c10tArgs will be the execution statement. It should use a fully qualified path for optimal results.
IE
/path/to/c10t
And then the args
so
c10tArgs=/path/to/c10t -w /path/to/world -o /path/to/map.png
Is an example
My c10t files are just getting too large to work so I'm switching to Brownans Minecraft-Overviewer which has less options but has a really nice Google Maps view. You can launch it in place of c10t by putting the python launch commands in the c10tArgs field. Example:
Maybe "c10tArgs" should be renamed "launchMapper" or something like that.
If I'm not mistaken, SimpleServer also knows to run backups and mapping only when a player has been on the server since the last execution, which is really nice.
set
alternateJarFile=Minecraft_Mod.jar
and
useSlashes=false
in simpleserver.properties
it works great, but then I loose my color options in Hey0 user list..and all the simpleserver txt files become useless
is there an option to use hey0's commands of /warp and /sethome..but still use simple servers user list and colors? (i much prefer the way your groups/members/etc works as well as the prefix on names).
because this wrapper does ALL my players want other than /sethome and /warp..so basiclly trying to merge to 2 to get 98% of the functions here, and 2% from hey0 :tongue.gif:
EDIT: with a bit of work I got it working..all other than the /setwarp and such..its now using the simpleservre user list...but any hey0 commands that need a user higher than default in hey0 you cant execute.
do you see any conflicts with yours by setting up a barebones user.txt and groups.txt in hey0 for the users I need to be able to use /setwarp?
As far as I've tested: yes.
c10tArgs will be the execution statement. It should use a fully qualified path for optimal results.
IE
/path/to/c10t
And then the args
so
c10tArgs=/path/to/c10t -w /path/to/world -o /path/to/map.png
Would it be possible to get a property for a command to be run after the backup has been copied and the world released, but before the tmp directory is compressed? I'm thinking this would make a great place for the c10t script to be run, or any other arbitrary script for things to placed in with the backups. Currently, to get a map of the backed up world, I would have to find the lastest backup, decompress it, generate the images, add them to the existing archive, and then clear the temp. Having a command at this point would eliminate almost all of that and save me some I/O and CPU time.
yeah i've been pondering ways to basically establish before-after relationships for backups, saving, restarting, etc.
I don't have a clear solution yet, but it is something I am thinking about.
Now with even more burst dragons and autokickbans plugin rpg!
The ways I see possible are either by putting in properties to allow users to specify their own scripts to run at points along the currently arbitrarily timed process, or by scheduling the entire process. The former would probably be the easiest to implement in code and may be a nice stop-gap solution, but the later would allow greater flexibility to the user. I imagine the later setting up a cron like scheduler where actions can be defined on either specific intervals ( every 5 minutes ) or at specific times ( on the half hour and/or hour ). Both of these would allow users to run their desired commands in the proper place, but I'm personally hoping to see the scheduler as that would other allow apps to run at defined times without interfering with the server processes or having to have a scripting interface for the server to call. Just my 2 cents
...
...
...
Warps have been implemented using SMP API and plugs right into SimpleServer, using its files and folders. It is almost seamless : O
It is also OPTIONAL! meaning if you don't want warps, just don't use it! : O
Testing on my server right now, will likely upload the files tonight or tomorrow night.
Now with even more burst dragons and autokickbans plugin rpg!
Unfortunately, looks like using \u0020 as a space character doesn't work for filepaths. Again, it gets stripped out and turned into a space in the .properties file after running the server. Also, you were right about not using ~, although that's a different issue. I'm using a symbolic link to get around this for now so it's not a big issue- just an FYI for others.
Also, I'll second infraded's comment about scheduling options. I'd love to be able to schedule saving/mapping/backing up based on real world time rather than relative to server launch so that we can define a sequence of events that runs at an easily identifiable time. Say run backup at the top of the hour, do mapping 5 minutes after that, etc…
With the nagging out of the way, the warping news sounds fantastic. I can't wait to see how it works.
At the moment, a group 10 member can set his own group to everything else he wants, as long as he has access to !setgroup.
Could you change that, so a group 10 member can't touch anything above his own group? (Including setting someone in a group above his own group).
We just set up some "Serverguards". They are capable of !setgroup because of the guest system. (Giving the newbies buildrights and such). However I don't trust them enough that they wouldn't change themselve to Admin or even Owner...
Greetz
Ataman
yep this will be included in the next patch.
Now with even more burst dragons and autokickbans plugin rpg!
it only changes Xmx. Xms sets the minimum heap size. As the heap grows, it will automatically enlarge up to 2048.
Now with even more burst dragons and autokickbans plugin rpg!
6_07 will fix this.
Now with even more burst dragons and autokickbans plugin rpg!
It already exists. the last element in a group-list.txt entry is the color code, which is a hex digit (0-f)
Now with even more burst dragons and autokickbans plugin rpg!
As far as I've tested: yes.
c10tArgs will be the execution statement. It should use a fully qualified path for optimal results.
IE
/path/to/c10t
And then the args
so
c10tArgs=/path/to/c10t -w /path/to/world -o /path/to/map.png
Is an example
Now with even more burst dragons and autokickbans plugin rpg!
hmm... [>>-i>] [>>-i>] [>>-i>] [>>-i>]
Now with even more burst dragons and autokickbans plugin rpg!
set
alternateJarFile=Minecraft_Mod.jar
and
useSlashes=false
in simpleserver.properties
Now with even more burst dragons and autokickbans plugin rpg!
My c10t files are just getting too large to work so I'm switching to Brownans Minecraft-Overviewer which has less options but has a really nice Google Maps view. You can launch it in place of c10t by putting the python launch commands in the c10tArgs field. Example:
c10tArgs= python /Users/username/minecraft-server-link/brownan-Minecraft-Overviewer-055e117/gmap.py --cachedir=/Users/username/minecraft-server-link/mapcache /Users/username/minecraft-server-link/world /Library/WebServer/Documents/maps
Maybe "c10tArgs" should be renamed "launchMapper" or something like that.
If I'm not mistaken, SimpleServer also knows to run backups and mapping only when a player has been on the server since the last execution, which is really nice.
it works great, but then I loose my color options in Hey0 user list..and all the simpleserver txt files become useless
is there an option to use hey0's commands of /warp and /sethome..but still use simple servers user list and colors? (i much prefer the way your groups/members/etc works as well as the prefix on names).
because this wrapper does ALL my players want other than /sethome and /warp..so basiclly trying to merge to 2 to get 98% of the functions here, and 2% from hey0 :tongue.gif:
EDIT: with a bit of work I got it working..all other than the /setwarp and such..its now using the simpleservre user list...but any hey0 commands that need a user higher than default in hey0 you cant execute.
do you see any conflicts with yours by setting up a barebones user.txt and groups.txt in hey0 for the users I need to be able to use /setwarp?
I use the same code in the terminal it works fine. Nothing happens at all in this case.
Try doing the absolute path instead of ~