Marcus Whybrow
57874b8da9
Fixes typo that @IronTetsubo pointed out
2013-09-03 01:34:41 +01:00
Marcus Whybrow
d6689011c7
Fixes #180 by checking java is installed before starting a server
2013-09-03 01:33:44 +01:00
Marcus Whybrow
211bb88acc
Fixes #26 by ensuring a symlink for level-name exists to worldstorage before world generation begins
2013-09-03 00:40:39 +01:00
Marcus Whybrow
04370c5a76
Merge pull request #186 from IronTetsubo/pull2
...
Fixes marcuswhybrow/minecraft-server-manager#147
2013-09-02 15:14:01 -07:00
Marcus Whybrow
1037373392
Merge pull request #185 from IronTetsubo/pull1
...
Make sure a server is stopped before deleting it
2013-09-02 15:13:09 -07:00
Dave Fallon
163baa4187
Fixed typo with calling the wrong exit function.
2013-09-02 08:34:16 -07:00
Dave Fallon
d86d026439
Fixes marcuswhybrow/minecraft-server-manager#147
2013-09-01 16:09:52 -07:00
Dave Fallon
d8d3628b05
Remove TODO since prior patch fixes it.
2013-09-01 15:59:27 -07:00
Dave Fallon
a27cf2b596
Make sure server is stopped before deleting, as if you don't, the delete will partially fail.
2013-09-01 15:53:39 -07:00
Edwin Hermans
502a58d4d1
patch to use JSON 'API' to find url of newest minecraft jar to download
2013-07-03 13:59:22 +02:00
TrogloGeek
ed9c48c400
Simple typo fix in versionning support (broken comparison)
2013-01-16 20:59:49 +01:00
Marcus Whybrow
006e7297ba
Fix bug in creating readme file for new servers
2013-01-07 13:40:25 +00:00
Marcus Whybrow
ba6522b312
Bump version to 0.8.16
2013-01-01 01:12:15 +00:00
Robert Postill
9ab32d72fa
Fixing Typo: jargorup -> jargroup
2012-12-15 22:51:54 -05:00
Marcus Whybrow
1d3312cda3
Bump version to 0.8.15
2012-11-10 16:51:57 +00:00
Marcus Whybrow
1de31ea91d
Fix incorrect reference to $latest_minecraft_version
2012-11-10 16:22:49 +00:00
Marcus Whybrow
9247412d75
Bump version to 0.8.14
2012-11-10 15:47:31 +00:00
Marcus Whybrow
63c7134ee8
Bump version to 0.8.13
...
fix #105
2012-11-04 03:05:42 +00:00
Marcus Whybrow
7bce9b16fd
Enable ramdisk by default
2012-11-04 02:56:11 +00:00
Marcus Whybrow
484fb8851a
Correct property loading
2012-11-04 02:53:00 +00:00
Marcus Whybrow
38fec75b4a
Add missing closing square bracket
2012-11-04 02:49:07 +00:00
Marcus Whybrow
748b474e1b
Add RAMDISK_STORAGE_ENABLED config option
2012-11-04 02:46:39 +00:00
Marcus Whybrow
ea0d49becb
Bump version number to 0.8.12
2012-11-03 23:35:05 +00:00
Marcus Whybrow
58c9205d9e
Implement msm jargroup changeurl
command
2012-11-03 23:32:30 +00:00
Matt Sicker
0b8328b3fe
Added check for wget --trust-server-names option.
2012-09-01 10:10:22 -05:00
Marcus Whybrow
bea1433ead
Bump version to 0.8.11
2012-08-13 02:52:25 +01:00
Marcus Whybrow
f065622794
Add "update" and "help" as invalid server names
2012-08-13 02:49:49 +01:00
Marcus Whybrow
d667b82c9e
Bump version to 0.8.10
2012-08-13 02:25:52 +01:00
Marcus Whybrow
fc7b1c45e3
Add versioning default + info messages
2012-08-13 02:08:33 +01:00
Marcus Whybrow
0f73b2a5cf
Bump version to 0.8.9
2012-08-12 02:59:04 +01:00
Marcus Whybrow
ac29738a2d
Bump version to 0.8.8
2012-08-12 02:48:18 +01:00
Marcus Whybrow
fcf4d69e72
Don't download files as root user, so deletion is easier
2012-08-12 02:45:15 +01:00
Marcus Whybrow
2534d2e89b
Bump version to 0.8.7
2012-08-12 01:56:53 +01:00
Marcus Whybrow
04a30f4b31
Improve update cleanup to prevent auth messages after every command
2012-08-12 01:55:18 +01:00
Marcus Whybrow
7affffda32
Bump version to 0.8.6
2012-08-12 01:48:34 +01:00
Marcus Whybrow
9a485f0b89
Prevent always requiring root user on exiting script
...
fix #77 , fix #78
2012-08-12 01:46:18 +01:00
Marcus Whybrow
416ac12bfd
Bump version to 0.8.5
2012-08-12 01:34:33 +01:00
Marcus Whybrow
ed4d0bc53b
Fix update output showing created when only updating
2012-08-12 01:26:11 +01:00
Marcus Whybrow
532b592589
Bump version to 0.8.4
2012-08-12 01:22:21 +01:00
Marcus Whybrow
b7630e369a
Fix update code not updating!
2012-08-12 01:21:03 +01:00
Marcus Whybrow
a728685f6c
Bump version to 0.8.3
2012-08-12 01:03:27 +01:00
Marcus Whybrow
377e8185c8
Fix bug in update checks
2012-08-12 01:02:22 +01:00
Marcus Whybrow
d80f212fb3
Bump version to 0.8.2
2012-08-12 00:59:16 +01:00
Marcus Whybrow
3e40faf2df
Improve update output
2012-08-12 00:57:54 +01:00
Marcus Whybrow
0b47c6c7e1
Bump version to 0.8.1
2012-08-12 00:45:16 +01:00
Marcus Whybrow
b90fbba906
Add recursive update ability
...
Allows the update command to be updated + removed refusal to check for
updates if the versions are the same.
2012-08-12 00:43:04 +01:00
Marcus Whybrow
8aba5416fb
Bump version to 0.8.0
2012-08-11 23:44:34 +01:00
Marcus Whybrow
a42993889f
Integrate versioning files with server commands
2012-08-11 23:18:42 +01:00
Marcus Whybrow
8618de4edb
Add versioning files to upgrade command.
...
Also add preview of which files will be updated and created.
2012-08-10 04:13:06 +01:00
Marcus Whybrow
5fa9d343fe
WIP: Use new server_command wrapper func
...
Also improve download code to also download versions
2012-08-10 02:41:49 +01:00
Marcus Whybrow
5fbb6c649d
WIP: Add versioning determination + get closest version func
...
Simplified confirmation server settings to accept just "expected
output" and not have multiple settings for each command, such as
"success", "failure1" and "failure2".
2012-08-09 13:13:58 +01:00
Marcus Whybrow
65c55de586
Add update command + new command element <flags>
2012-08-08 17:36:42 +01:00
Marcus Whybrow
de8f405b25
Add VERSIONING_STORAGE_PATH setting
2012-08-08 15:22:23 +01:00
Marcus Whybrow
5f1861a681
Add variables for locating other MSM files
2012-08-08 15:21:59 +01:00
Marcus Whybrow
19e0f84c71
Bump version to 0.7.5
2012-08-08 01:33:04 +01:00
Marcus Whybrow
1974d9812e
Bumped version to 0.7.4.
2012-08-02 10:41:42 +01:00
Marcus Whybrow
dd30caaa1d
Bumped version to 0.7.3.
2012-07-24 22:17:35 +01:00
Marcus Whybrow
00b39ec017
Fixed global start and stop commands from failing.
...
Added lazy loading of necessary server properties.
2012-07-24 22:15:24 +01:00
Marcus Whybrow
44bab2fcec
Bumped version to 0.7.2.
2012-07-24 14:54:40 +01:00
Marcus Whybrow
cbb8d2f616
Added three missing server username lazy loads.
2012-07-24 14:19:37 +01:00
Marcus Whybrow
381b627bb6
Bumped version to 0.7.1.
2012-07-22 08:08:15 +01:00
Marcus Whybrow
7e89f4dd12
Fixes #54 . Loads server username inside the server_set_jar function.
2012-07-22 08:05:20 +01:00
Marcus Whybrow
a3dc7c6865
Bumped version to 0.7.0.
2012-07-20 10:16:30 +01:00
Marcus Whybrow
d48bd7c577
Created dirty properties functions which force variables to be loaded again.
2012-07-20 10:14:05 +01:00
Marcus Whybrow
54fdd5bb9b
Prevent log roll error when log had not been created.
2012-07-20 10:13:31 +01:00
Marcus Whybrow
7a8a91992c
Added output for worlds list command, when there are no worlds.
2012-07-20 09:17:25 +01:00
Marcus Whybrow
4185db1e59
Fixed world id bug when whorl name was not found.
...
The ID would accidentally be left as -1, which would cause problems
when loading world properties.
2012-07-20 08:15:42 +01:00
Marcus Whybrow
a5d0fc80b1
Added extra server_property calls needed.
2012-07-20 07:51:01 +01:00
Marcus Whybrow
7d1926b90f
Added <server> config <setting>
command which retrieves the value of a single setting.
2012-07-20 07:47:40 +01:00
Marcus Whybrow
6616805a41
Added multi-user support to the kick command.
2012-07-20 07:15:50 +01:00
Marcus Whybrow
6c1707d3e5
Added multi-user support to the gamemode command.
2012-07-20 07:12:24 +01:00
Marcus Whybrow
7463ff4149
Added multi-user and offline support to operator add and remove commands.
2012-07-20 07:07:15 +01:00
Marcus Whybrow
1e030d41a2
Added offline support for ip address blacklist commands.
...
Also made adding and removing names more strict: exact line matches are
now required. Before deleting the player "crafty" would also delete the
line "craftysaurus" which would be unintended.
2012-07-20 06:47:02 +01:00
Marcus Whybrow
3b2d857991
Added offline support for blacklist add and remove commands.
2012-07-20 06:27:29 +01:00
Marcus Whybrow
c16396a98b
Fixed blacklist list command. Can now see correct paths.
2012-07-20 06:26:56 +01:00
Marcus Whybrow
96087b1bf9
Added multi-user support to whitelist add and remove commands.
2012-07-20 06:13:12 +01:00
Marcus Whybrow
022e0158a1
Fixed whitelist commands when offline. Could not access whitelist file.
2012-07-20 05:31:45 +01:00
Marcus Whybrow
adf5b7b897
Moved console and config commands to the server management commands section.
2012-07-20 05:24:37 +01:00
Marcus Whybrow
83f547e79a
Added protection against rolling server logs when the log is empty.
2012-07-20 05:19:50 +01:00
Marcus Whybrow
06dea648f2
Removed abusive Notch comment. :D
2012-07-20 05:14:12 +01:00
Marcus Whybrow
9664c094e0
Fixed deactivating/activating a world changing file permissions to root.
2012-07-20 05:10:48 +01:00
Marcus Whybrow
ee5589bac0
Prevented save commands being sent to a stopped server in <server> worlds to disk
.
...
Before this fix, if the server was stopped the command would output
'Server "name" is not running.' multiple times.
2012-07-20 05:01:20 +01:00
Marcus Whybrow
fe64cf0207
Added synchronisation from RAM to disk before removing RAM version of a world.
2012-07-20 04:59:30 +01:00
Marcus Whybrow
4122bba733
Fixed syntax error in world_to_disk: prevented loading server_property USERNAME.
2012-07-20 04:58:59 +01:00
Marcus Whybrow
c707df5be0
Fixed world_property RAMDISK_PATH bug, which did not set it.
2012-07-20 04:58:00 +01:00
Marcus Whybrow
9e97671af4
Fixed world offset and total variables not getting set correctly.
2012-07-20 04:45:31 +01:00
Marcus Whybrow
46f9b8204a
Made initial allocation a little tidier.
2012-07-20 04:30:49 +01:00
Marcus Whybrow
8f2c1ae16e
Improved world list command to be more readable.
2012-07-20 03:20:07 +01:00
Marcus Whybrow
a8ecf4615d
Fixed correct name for WORLDS_FLAG_INRAM server configuration.
2012-07-20 03:19:43 +01:00
Marcus Whybrow
223dcfe714
Removed the old config loading code. It is now replaced with lazy loading.
2012-07-20 03:09:21 +01:00
Marcus Whybrow
24714b1dea
Replaced while loops with for loops in world list and backup functions.
2012-07-20 03:08:40 +01:00
Marcus Whybrow
85c66fc0ab
Fixed, in wold memory allocation, an incorrect variable name.
2012-07-20 03:05:35 +01:00
Marcus Whybrow
6333774d6f
Made more robust checking if manager_property has loaded.
2012-07-20 03:04:52 +01:00
Marcus Whybrow
83a304c5c7
Removed debug statement in world_property.
2012-07-20 03:03:56 +01:00
Marcus Whybrow
60a6af24c2
Introduced lazy config loading. Faster in general.
...
Instead of allocating all memory up front for every possible command
option this new approach just expects certain variable names. If those
variables are used in a function the manager_property, server_property
or world_property command ensures that the variable has been loaded
from config files.
This approach uses sed to retrieve a single line from a config file
when necessary, instead of reading every line at startup.
2012-07-20 02:41:37 +01:00
Marcus Whybrow
c46db621e0
Stopped loading all config files all the time.
...
Now server confs are only loaded when a command needs it.
2012-07-18 07:42:26 +01:00
Marcus Whybrow
7ac5827948
Found another function to remove subshell from.
2012-07-18 05:43:23 +01:00
Marcus Whybrow
7bbca19dbc
Removed subshells where possible (speed increase.)
...
Can only do this for my own functions. So not much of a change really.
2012-07-18 05:36:31 +01:00
Marcus Whybrow
5f539d5dbf
Improved comments and MSM script layout.
...
Added introductory comments for MSM and bash completion files.
2012-07-18 04:31:10 +01:00
Marcus Whybrow
2554b67d52
Added /etc/profile.d/msm.sh support.
2012-07-18 04:30:31 +01:00