snowleo
0bbc1e540b
motd and rules are now configured in the files motd.txt and rules.txt, values from config.yml are copied automatically
...
New features:
Info command now understands the tags from motd and rules
motd and rules are now multipage
On join, only the first page of motd is shown.
2011-11-18 04:18:03 +01:00
snowleo
4c698762c3
Automatic updates for future versions of items.csv
...
We also update all 1.7.3 versions of items.csv
2011-09-18 00:49:34 +02:00
KHobbits
3d913f9fcc
Make home throw an exception if the world doesn't exist.
...
Add multiverse/missing world support to home upgrade.
2011-08-24 05:18:35 +01:00
KHobbits
6c738294d1
Skip default home if it's invalid.
2011-08-24 03:49:35 +01:00
KHobbits
7df5098bf6
Homes tolower.
...
Max homes fix.
2011-08-23 15:37:09 +01:00
KHobbits
6ee7017603
Adding Home upgrade script.
...
Tidying up home code.
2011-08-23 06:09:34 +01:00
KHobbits
0592c1fe11
Added multiple homes.
...
Permissions currently: essentials.sethome.multiple and essentials.sethome.multiple.unlimited
New config setting: multiple-homes (default value 5)
2011-08-23 03:42:32 +01:00
okamosy
812a357361
added config upgrade for powertools
2011-08-21 19:02:01 +01:00
snowleo
a085503c84
Users are now loaded async, so we have a new internal structure where they are saved.
...
I also did some cleanup on the classes that I worked on.
This needs testing, it might break, because it does not behave 100% identical like before.
it's possible that /balancetop now needs more time to finish, if not all users are loaded into memory.
2011-08-08 14:40:40 +02:00
snowleo
a38fe6acd4
Heavy cleanup of all classes
...
ItemDb is not static anymore
Essentials.getStatic() removed
2011-07-16 01:33:22 +02:00
snowleo
117d938ac5
Several bug fixes and cleanup.
...
Found using PMD and FindBugs.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1553 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-01 10:40:12 +00:00
snowleo
70c84083c4
Show file name, if there is an exception in the user upgrade code.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1533 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-23 10:59:26 +00:00
snowleo
a805c5425c
Only update config, if there are worth values.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1504 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-16 21:43:43 +00:00
snowleo
bb804a5710
Fix _setMoney failing on upgrade.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1500 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-16 08:55:20 +00:00
snowleo
4bd6bdcc39
Don't load worlds on startup for Upgrade process, use FakeWorld instead.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1455 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-14 02:02:15 +00:00
snowleo
8e1f018104
More translation stuff. Essentials namespace is now translated.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1407 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-10 19:02:59 +00:00
snowleo
2af13fd062
[trunk] Delete temp files, if they are not needed.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1320 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 16:59:25 +00:00
snowleo
9d9adaa0b5
[trunk] Fix converting to new home format.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1304 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 00:20:57 +00:00
snowleo
6f16650e7d
[trunk] Upgrade:
...
- move users.yml to users.yml.old
- handle filesystems that ignore case
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1303 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-01 22:58:54 +00:00
snowleo
c5850ddbd1
[trunk] Another fix for upgrading the home locations
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1302 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-01 22:35:26 +00:00
snowleo
088508bd37
[trunk] Fix bug on upgrade the home locations
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1301 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-01 21:58:38 +00:00
snowleo
224c18348a
This is a big refactoring of the user class and more.
...
Many commands have been cleaned.
File changes:
- all user data has been moved from users.yml to userdata folder
- all files in userdata folder are lower case
Both changes should be done automatically.
Class changes:
- Moved all user data functions to UserData class
- Moved all user teleport functions to Teleport class
- Moved the user list to Essentials class
- Less static functions for better testing
- EssentialsCommand now has ess Property (Essentials class)
- New NotEnoughArgumentsException, that will show command description and syntax
New commands:
- /seen, shows the last login or logout
- /tempban, temporarily ban someone
- /tjail and mute, temporarily option added
Other changes:
- ban reason is saved
- don't show "You have xxx mail" on login, if user doesn't have essentials.mail permission
- time will be parsed: years, months (mo), weeks, days, hours, minutes (m), seconds, these can be shortened and combined, example: 2 days 5h 30m
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1300 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-01 21:07:30 +00:00
snowleo
f71bec35e5
[trunk] Throw errors on upgrade rename fail.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1238 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-17 00:08:09 +00:00
snowleo
74c8b634a0
[trunk] Catch the case where the upgrade is called before the config.yml file exists.
...
We don't need to update then.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1237 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 23:41:11 +00:00
snowleo
307ecced06
[trunk] EssentialsUpgrade: rename backup to .upgradebackup
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1232 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 16:49:56 +00:00
snowleo
d311fc126f
[trunk] New mechanism for upgrading config files. This will be extended in the future.
...
New worth.yml autogenerated from the previous values.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1215 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 13:36:09 +00:00