snowleo
0e21d3287e
Fix Util.getSafeDestination() to use int instead of double.
2011-07-23 02:06:13 +02:00
snowleo
aa663c0c98
Don't teleport to offline users.
2011-07-20 22:03:15 +02:00
snowleo
e0dc003464
Cleaned deprecated functions
2011-07-18 01:17:24 +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
ementalo
af364b4bb4
actually remove sorting methods
2011-07-15 17:50:48 +01:00
ementalo
cd4c58cfcb
balancetop only braodcasts to the issuer now, fix messages, remove util sortingmethods
2011-07-15 17:47:36 +01:00
ementalo
fb8f89e6dc
Test #383 added balance top. Hardlimit max of 10 users at the moment. /balancetop retrieves all 10 /balancetop <1-10> retrieves the top number you specify
2011-07-15 15:43:39 +01: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
978650618d
Fix: 1 day displayed additionally on 31th of month
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1549 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-31 20:36:43 +00:00
snowleo
caf7d0a9ad
First code for the update and error report stuff. Disabled until finished.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1545 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-28 03:29:11 +00:00
snowleo
62fe52ee13
Various translation bugfixes
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1499 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-16 08:40:28 +00:00
snowleo
cc37bafb42
Always close files.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1481 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 13:19:04 +00:00
snowleo
0e0cfbb15b
More translation stuff.
...
Check if the version of a translation file is up to date with essentials version.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1480 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 13:18:38 +00:00
snowleo
e70195b170
More translation stuff.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1477 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 12:23:47 +00:00
snowleo
fa0a0b3301
Unit Tests for Economy API
...
Finally fixed the Currency format
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1436 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-13 19:18:22 +00:00
snowleo
82dd4e88b4
Rewritten Economy API. Please update your plugins.
...
This Economy API is now supported by Essentials.
Do not use NPC Accounts as bank accounts. Bank accounts are not supported yet.
New config: currency-symbol
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1431 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-13 16:57:45 +00:00
snowleo
3e046d71a8
Reverting to old way of displaying currency.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1425 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-11 23:12:52 +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
442e54ad6b
Time diff: Parse numbers as seconds
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1394 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-09 19:51:53 +00:00
snowleo
e18cd69b5d
cleanup
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1388 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-09 02:48:30 +00:00
snowleo
a314f16f90
[trunk] Translation of Essentials to other languages. This is just a start, many strings needs to be added.
...
Console doesn't show umlauts, but in game chat does.
New config property: locale
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1387 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-09 02:47:19 +00:00
snowleo
abc22d4e21
[trunk] Fix formatCurrency and roundDouble (it breaks on non-us locales)
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1381 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-08 23:57:44 +00:00
ementalo
42971cfad6
[trunk] I have gone insane. [trade] sign fixes
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1365 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-07 23:06:03 +00:00
ementalo
8647f4f955
[trunk] formatting monies and signs. signs still need some work to incorporate doubles
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1340 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-04 14:23:22 +00:00
snowleo
79c0ef69c4
Cleanup of the iConomyBridge Code
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1321 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 18:22:17 +00:00
xeology
e327aee283
Fixed API ALOT, added bypass on iconomy calls for ico-bridge.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1315 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 09:55:22 +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