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
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://www.netbeans.org/ns/project/1">
|
|
|
|
<type>org.netbeans.modules.java.j2seproject</type>
|
|
|
|
<configuration>
|
|
|
|
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
|
|
|
|
<name>BuildAll</name>
|
|
|
|
<source-roots>
|
|
|
|
<root id="src.dir"/>
|
|
|
|
</source-roots>
|
|
|
|
<test-roots>
|
|
|
|
<root id="test.src.dir"/>
|
|
|
|
</test-roots>
|
|
|
|
</data>
|
|
|
|
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
|
|
|
|
<definitions>..\lib\nblibraries.properties</definitions>
|
|
|
|
</libraries>
|
|
|
|
<references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
|
|
|
|
<reference>
|
|
|
|
<foreign-project>Essentials</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsChat</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsGeoIP</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsGroupBridge</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsGroupManager</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsProtect</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsSpawn</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<foreign-project>EssentialsiConomyBridge</foreign-project>
|
|
|
|
<artifact-type>jar</artifact-type>
|
|
|
|
<script>build.xml</script>
|
|
|
|
<target>jar</target>
|
|
|
|
<clean-target>clean</clean-target>
|
|
|
|
<id>jar</id>
|
|
|
|
</reference>
|
|
|
|
</references>
|
|
|
|
</configuration>
|
|
|
|
</project>
|