summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandinfo.java
Commit message (Collapse)AuthorAgeLines
* Reduce a few nickname refresh calls.KHobbits2014-06-19-0/+5
|
* Extract CommandSender to CommandSource, this should prevent Ess user object ↵KHobbits2013-10-16-2/+2
| | | | leaks.
* Allowing use of aliases in help/info/motd, for command suggestions.KHobbits2012-01-14-1/+1
| | | | Test #1441
* Added info how to read the next page to /info /help /motd /rulessnowleo2011-11-28-1/+1
|
* Command cleanupKHobbits2011-11-18-1/+1
|
* motd and rules are now configured in the files motd.txt and rules.txt, ↵snowleo2011-11-18-170/+8
| | | | | | | | | 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.
* Correctly charge for the use of commands.snowleo2011-08-27-5/+1
| | | | We now first test, if the user could pay it, do the stuff and then charge him. If the command throws an exception, the user will not be charged.
* Several bug fixes and cleanup.snowleo2011-06-01-7/+16
| | | | | | Found using PMD and FindBugs. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1553 e251c2fe-e539-e718-e476-b85c1f46cddb
* Creating info.txt, if it does not exist.snowleo2011-05-10-0/+1
| | | | git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1418 e251c2fe-e539-e718-e476-b85c1f46cddb
* [trunk] translations - halfway thereementalo2011-05-10-6/+6
| | | | git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1416 e251c2fe-e539-e718-e476-b85c1f46cddb
* Add support for info_username.txt and info_groupname.txt.snowleo2011-05-10-3/+19
| | | | | | Fix color in chapter names. Use &[0-9a-f] as color codes. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1412 e251c2fe-e539-e718-e476-b85c1f46cddb
* This is a big refactoring of the user class and more.snowleo2011-05-01-23/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [trunk] New /info command, reads text from info.txt.snowleo2011-04-10-0/+147
Chapters are supported. Each line that starts with #name creates a chapter named name. Name does not support spaces and ignores case. If info.txt contains chapters and no chapter is selected with /info command, then it will either print the file until the first chapter or if the first line is a chapter, it will return a list of all chapters. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1164 e251c2fe-e539-e718-e476-b85c1f46cddb