Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More minor phrasing #688

Open
wants to merge 4,170 commits into
base: 2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4170 commits
Select commit Hold shift + click to select a range
ee05bf3
Update plugin.yml and add some aliases (Evonuts is going to hate me)
khobbits Aug 11, 2013
09e8b87
When in fly+god mode or when in creative mode, don't use safe telepor…
khobbits Aug 11, 2013
c43574e
Fully support numerical worth yml data.
khobbits Aug 11, 2013
e9c0bd3
Prevent inf loop when adding air to kits.
khobbits Aug 11, 2013
d329d27
Restore safe location for /top
khobbits Aug 12, 2013
a3cae43
Fix NPE in /back when no previous location exists
joejenniges Aug 13, 2013
1ac5b42
Teleport cleanup
khobbits Aug 13, 2013
b3cae17
trim and replace spaces in chapter names to always work in commands
necrodoom Aug 13, 2013
794dd78
Update Commandremove.java
Pocketkid2 Aug 7, 2013
f17ad2c
fix config comment at heal-cooldown
necrodoom Aug 7, 2013
66eb920
Fix mail sendall from console skipping first param
khobbits Aug 13, 2013
ff41588
Gracefully handle botched plugin starts
khobbits Aug 13, 2013
ffae86d
Use user object to send messages when possible.
khobbits Aug 15, 2013
2928e8a
Use essentials itemdb for charge messages.
khobbits Aug 15, 2013
7bc84d6
items.csv - try move the most common item alias to top of aliases stack
necrodoom Aug 15, 2013
75fe543
Allow alternative command handler to also pass tab complete.
khobbits Aug 15, 2013
92a2244
Add muting offline players
khobbits Aug 18, 2013
b8cdd7d
Fix NPE in /kill when used from console. Thanks Necrodoom
khobbits Aug 18, 2013
3b8df2d
Fix feed cooldown bypass permission:
khobbits Aug 18, 2013
8cba8da
Fix a few issues with /list and group formatting.
khobbits Aug 18, 2013
543672a
Reset fall distance when toggling fly so fall damage is not accidenta…
khobbits Aug 18, 2013
3ccefb4
Fix tests
khobbits Aug 18, 2013
a29e1bf
Add support for multiple bookmarks/chapter names
khobbits Aug 18, 2013
a06a81c
New command /customtext - This command is intended to be used with bu…
khobbits Aug 18, 2013
7f27de4
Fix text file color code escaping (&&6 -> &6) Add support for color e…
khobbits Aug 19, 2013
3a4e4c5
Refresh default motd.
khobbits Aug 19, 2013
b85aaea
More colour.
khobbits Aug 20, 2013
ed00758
Add COORDS, UPTIME and TPS keywords
chrisgward Aug 20, 2013
cf79dad
Add support for {PLAYERLIST:GROUP} AND {PLAYERLIST:GROUP:<none>}
khobbits Aug 20, 2013
f96359e
Add another customtext example (including one with multiple aliases)
khobbits Aug 20, 2013
3fb4d1f
Don't allow buying partial item sets via trade signs.
khobbits Aug 28, 2013
eca3be5
Extend eco disable option to block eco lookups. This can be required…
khobbits Aug 28, 2013
62b4348
Don't waste cpu on /baltop if eco is disabled.
khobbits Aug 28, 2013
52e9cc6
This tp req cancel isn't needed anymore.
khobbits Aug 30, 2013
2973b13
Add debug output to keyword replacer
khobbits Aug 30, 2013
64743ef
Add support for coloured authors on books
khobbits Aug 31, 2013
9908eb0
Use Tamed instead of horse/ocelot/wolf
Pocketkid2 Aug 20, 2013
36c61ea
New enum cached, lazy generated KeywordReplacer
khobbits Aug 31, 2013
df5d9a4
Reimplement 'private' keywords.
khobbits Aug 31, 2013
c056ba0
Properly handle negative /clear amounts.
khobbits Sep 4, 2013
0926da3
Expose other plugins ban masks.
khobbits Sep 4, 2013
0a17489
Clarify kit errors
khobbits Sep 5, 2013
7c686b4
Fix case sensitivity on {PLAYERLIST:group}
khobbits Sep 6, 2013
3963a52
Fix handling max warp pages.
khobbits Sep 10, 2013
8d739d6
Fix translation typo
joejenniges Sep 15, 2013
a498952
Push latest Bukkit RB
joejenniges Sep 17, 2013
bd5fd29
Require latest Bukkit RB
chrisgward Sep 17, 2013
503d39e
Update ItemStack reference to getTypeId()
joejenniges Sep 17, 2013
6094485
Cleanup
chrisgward Sep 18, 2013
99c73f3
Update to 1.6.4
Iaccidentally Sep 20, 2013
f7f7c2a
Ignore list and no tpa to self. Fixes ESS-4456 ESS-4711
Sep 23, 2013
e853199
Format to the format with the formatter.
Sep 24, 2013
06e3d33
Adds clarification to metrics opt-out
Sep 24, 2013
e6b76ca
Adds even more clarification to metrics opt-out
lukegb Sep 24, 2013
03368e4
Extract user match looping
khobbits Sep 28, 2013
122232a
Add more API template and implement nick change event.
khobbits Oct 5, 2013
4951c20
Improve nick validation
khobbits Oct 5, 2013
e1ff354
Cleanup
khobbits Oct 5, 2013
cfa367d
Allow recolouring own name.
khobbits Oct 5, 2013
cc34c02
Update README.markdown
khobbits Oct 7, 2013
375caa6
implement GodStatusChangeEvent
Iaccidentally Oct 11, 2013
9e20f55
Allow for event based test cases.
khobbits Oct 11, 2013
59b501b
Clean Imports
khobbits Oct 11, 2013
12bf4e9
add update for global presence handler
patjense Oct 13, 2013
601bdbf
add XMPP presence management stack
patjense Oct 13, 2013
27ee587
add delayed task for XMPP presence update
patjense Oct 13, 2013
f532401
Cleanup XMPP PR
Iaccidentally Oct 14, 2013
cf9d79d
Strip nickname prefix when doing displayname comparison.
khobbits Oct 16, 2013
6f85761
Extract CommandSender to CommandSource, this should prevent Ess user …
khobbits Oct 16, 2013
be31b16
Restore getUser API
khobbits Oct 17, 2013
64e089e
Cleanup
khobbits Oct 17, 2013
298e677
Fix /r
chrisgward Oct 18, 2013
2615468
Remove .idea and *.iml from git
chrisgward Oct 18, 2013
50a9b57
Fix double messages in targeted commands
chrisgward Oct 18, 2013
e25e02d
Add Maven Support
chrisgward Oct 18, 2013
97d176e
Make looping commands see vanished players properly
chrisgward Oct 19, 2013
48261da
Fix null pointer exception on kits with meta
chrisgward Oct 19, 2013
3e9a237
Call Ant from Maven (for GM)
chrisgward Oct 19, 2013
4ea6296
Use a player's real name in /balance if they are vanished
chrisgward Oct 19, 2013
1164bbd
[Fix] Allow someone to change their nick to different case of the sam…
chrisgward Oct 19, 2013
92a9673
Restore original give/take Money API
khobbits Oct 19, 2013
049577c
Restore deleted craftbukkit jar
khobbits Oct 20, 2013
b1d422b
Round up Y position when standing on half blocks. This should addres…
khobbits Oct 20, 2013
f36f5ec
Add debug log entry when checking permission groups.
khobbits Oct 20, 2013
9aa88bd
Add a little more group based debugging.
khobbits Oct 21, 2013
84ce3d3
Fix automatic versioning when compiling with Maven
chrisgward Oct 21, 2013
7436009
Clarify message when ignoring exempt players.
khobbits Oct 27, 2013
ae89c80
Clarify no perm msgs for missing .offline perms
FearFree Sep 30, 2013
b8f5c9a
Update for consistency.
FearFree Sep 30, 2013
365888a
Update Translation files from Crowdin:
khobbits Oct 28, 2013
6af1b92
Update Bukkit and Craftbukkit jar files for stable 1.6.4
khobbits Oct 28, 2013
235f134
netbeans 7.4 stuff
Iaccidentally Nov 6, 2013
d5196e3
Add ability to supress join/leave messages :: new permissions: essent…
Iaccidentally Nov 6, 2013
3e725ef
Cleanup various aspects of code, fix some formatting, more netbeans 7…
Iaccidentally Nov 7, 2013
7f8d62b
Add a couple more enchant aliases for blast protection
khobbits Nov 9, 2013
5d1ea4a
Allow ignore to block tpahere requests.
khobbits Nov 9, 2013
f400f81
Add more functionality to the remove command. This now overlaps some …
Iaccidentally Nov 10, 2013
82be754
Tidy up Commandremove a bit, thanks to Evonuts
Iaccidentally Nov 10, 2013
53b1526
Throw meaningful warnings when wrong Essentials version is used with …
khobbits Nov 15, 2013
9b4e6e5
Fix fromIndex = -20
snowleo Nov 15, 2013
8146858
Fix logic error with /kickall in console
Nov 17, 2013
872df26
Do not block user damaging self (ender eye)
necrodoom Nov 17, 2013
beef371
Adding saddles to horses should properly tame horses.
khobbits Nov 24, 2013
4232216
Try to be a little less confusing with non-command debug errors.
khobbits Nov 24, 2013
f677d6a
Tidy up string manipulation in trade signs.
khobbits Nov 25, 2013
caa3ac8
Add Balance Update Event.
Nov 26, 2013
e411f61
Update to first build of 1.7.2 - CraftBukkit is still buggy so expect…
khobbits Dec 1, 2013
25e4096
Update FakeServer - fixes compilation
chrisgward Dec 1, 2013
b3bad6a
Add a title to [Disposal] and [Free] sign inventory
Pocketkid2 Nov 30, 2013
dde8cd8
Merge remove and killall command, thanks to @Evonuts and @Iaccidentally.
khobbits Dec 2, 2013
1ae2b09
Add options to disable join/quit messages and custom join/quit messages
Iaccidentally Nov 15, 2013
c57c791
Cache join/quit messages.
khobbits Dec 2, 2013
de7c2be
Updated translations from crowdin
khobbits Dec 2, 2013
c0a58a5
Update items.csv to 1.7.2 (beta file version)
necrodoom Dec 2, 2013
3839b6f
Code cleanup
Dec 5, 2013
278bb98
Fix custom join messages Removes double message, adds colour codes an…
chrisgward Dec 3, 2013
bac26f9
Cleanup join/quit messages.
chrisgward Dec 3, 2013
9550ef2
Fix glass pane IDs
necrodoom Dec 2, 2013
b836b3c
Who doesn't love a good ol' NPE
chrisgward Dec 6, 2013
5fe19db
Fixed bug when logging in silently
Phryxiil Dec 7, 2013
fed250f
Merge pull request #605 from Phryxiil/2.x
Iaccidentally Dec 7, 2013
e864696
Revert "Fixed bug when logging in silently"
chrisgward Dec 7, 2013
c57e902
Fix login messages
chrisgward Dec 7, 2013
d40e331
Disable the login message hooks automatically
chrisgward Dec 7, 2013
309273d
Fix issue in login messages
chrisgward Dec 7, 2013
723e458
Remove requires at least one argument.
khobbits Dec 7, 2013
5b64c31
Show warning when invalid mob type is specified for /remove
khobbits Dec 7, 2013
f3b005e
Cleanup /remove ingame syntax
khobbits Dec 7, 2013
427b974
Logger cleanup pt 1.
khobbits Dec 7, 2013
946051d
Add support for adding item meta to [free] signs.
khobbits Dec 7, 2013
5e9f590
Ignore empty chat events generated by plugins
necrodoom Dec 6, 2013
af02a28
Update Bukkit
khobbits Dec 7, 2013
5dbf4f5
Make it so both {world} and {worldname} work for both keyword parsers.
khobbits Dec 7, 2013
2584e0a
Update config.yml to reflect recent custom message settings.
khobbits Dec 8, 2013
ddb1f76
Strip weird sign chars sent by OSX due to client bug
md-5 Dec 8, 2013
90fc19c
Fix formatting from last commit
md-5 Dec 8, 2013
f52858d
Strip all Mac OSX characters
chrisgward Dec 8, 2013
11949a4
Add new baked potato aliases - thanks clou44
necrodoom Dec 8, 2013
b68e451
Merge pull request #607 from necrodoom/patch-67
Iaccidentally Dec 8, 2013
9a197d6
Fixed all the salmon.
Skylexia Dec 11, 2013
18a6d17
Merge pull request #609 from Skylexia/patch-1
chrisgward Dec 11, 2013
b70b586
Remove Javadocs from the default compile, use the javadoc:javadoc goa…
chrisgward Dec 11, 2013
7d8d9d8
Add the ability to disable teleport safety. Requested by a few people…
Dec 13, 2013
901b835
Alter teleport cancel message to reflect config option.
khobbits Dec 13, 2013
1bfab68
Change teleport safety checks to use less expensive methods.
chrisgward Dec 13, 2013
f8e2737
Add cobweb aliases
necrodoom Dec 13, 2013
df219db
fix gcWorld in de locale
necrodoom Dec 15, 2013
e5b522e
Try changing the config file home language up a little bit.
khobbits Dec 17, 2013
ee55584
Use Bukkit beta build
chrisgward Dec 18, 2013
6362dbd
Restore CB to lib folder
khobbits Dec 21, 2013
b6b2ee6
Don't check for default worth durability if more than one durability …
khobbits Dec 21, 2013
bcd5350
Add extra /home message TL params
khobbits Dec 21, 2013
ad2f446
Check command cost permissions prior to teleporting. Fixes ESS-4918
khobbits Dec 21, 2013
23d2ffb
Add {4} to homeSet TL key, this contains the name of the home being set.
khobbits Dec 21, 2013
3017d2a
Better matching of zombie and skeleton mobdata to avoid confusion.
khobbits Dec 22, 2013
8b26c7f
Use Ant to replace GroupManager's plugin.yml version
chrisgward Dec 22, 2013
7d7e87e
Pull geoip library from Maven
chrisgward Dec 25, 2013
def1569
Add aliases to stationary water & stationary lava
SkyBirdSoar Dec 24, 2013
0384ac5
Travis - use Maven to build
chrisgward Dec 25, 2013
1d791fb
Remove Ant, migrate Netbeans code style to pom.xml
chrisgward Dec 26, 2013
12c96e2
Use the Essentials Maven repository
chrisgward Dec 28, 2013
58440dd
Add deploy plugin
chrisgward Dec 28, 2013
4669187
Add permission: essentials.msg.multiple and essentials.pay.multiple
khobbits Dec 28, 2013
99d25bf
Fix NB parent compiling
khobbits Dec 28, 2013
0b71b6e
Remove redundant permission check.
khobbits Dec 31, 2013
d48c020
Add and implement sign break/create/interact events to EssAPI
khobbits Dec 31, 2013
3fecd31
Check command cost, before running kit delay check, prevent accidenta…
khobbits Jan 3, 2014
3b0e86a
Add an upload-only pom file for GroupManager
chrisgward Jan 5, 2014
8c882a5
Reset Exhaustion on /feed
Pocketkid2 Jan 8, 2014
4084445
Config description cleanup.
khobbits Jan 11, 2014
eee18f4
Pass optional location parameters to teleport TL keys.
khobbits Jan 12, 2014
f39ef36
Fix hidden groups in /list
khobbits Jan 14, 2014
839bfe0
Update to Bukkit Development Builds
chrisgward Jan 20, 2014
9ce1158
Add support for vanilla JSON metadata syntax (/give, /i, /kit, etc.)
chrisgward Jan 20, 2014
32b118d
Add fullstops for @Necrodoom
chrisgward Jan 21, 2014
52c3169
Read backup output async
snowleo Jan 25, 2014
915cb51
Trim items.csv based on feedback
necrodoom Jan 8, 2014
c8faf03
Fix cauldron ID
necrodoom Jan 21, 2014
5070f15
Use OSX character split on internal sign interface
khobbits Jan 25, 2014
1c03545
Force Bukkit version to match deps.
khobbits Jan 25, 2014
b9d09dd
Make /speed persist on world change if permissions exist.
khobbits Jan 26, 2014
e7c468b
Attempt to fix client issue with speed reset on world change.
khobbits Jan 26, 2014
466b4ae
Restore Bukkit dependency to parent pom
chrisgward Jan 29, 2014
5b5be16
Allow the use of non-development Bukkit builds at runtime
chrisgward Jan 29, 2014
18b31a7
[FIX] Print a proper error when using tpaccept with no requester
Iaccidentally Feb 1, 2014
161862b
Make sure we leave any vehicles before teleporting.
khobbits Feb 2, 2014
882ebae
[Breaking] Add exception when players have exceeded their account limit.
khobbits Feb 2, 2014
016b397
Restore teleporting to middle of block, when flying and unsafe is ena…
khobbits Feb 2, 2014
6798615
Track UUID for future use.
khobbits Feb 2, 2014
0a6a791
Raise minimum CB version to 2922 or 1.7.2-R0.1
khobbits Feb 2, 2014
c821237
Allow the Essentials module to compile again.
khobbits Feb 2, 2014
6330086
Fixed argument count for meta parsing.
khobbits Feb 2, 2014
f0e4e8c
Add support for vanilla item names from api.
khobbits Feb 2, 2014
20ff619
Readme tweak.
khobbits Feb 4, 2014
518650e
Modifier order consistency
Feb 4, 2014
d99c35c
Add bow as a skeleton keyword
khobbits Feb 6, 2014
a9249de
Reformat pom
khobbits Feb 8, 2014
52c8ebc
Fix duplicates, a few more aliases addition/remove
necrodoom Feb 5, 2014
2affce8
Restore 2 aliases
necrodoom Feb 7, 2014
ce48f2f
[Fix] fireball-fire=true now prevents fire spread from fireballs
coegho Jan 6, 2014
5c74af4
Add /skull command
stuntguy3000 Feb 5, 2014
6174e4a
Code cleanup and remove remote skull edit.
khobbits Feb 8, 2014
5e6ce8a
Reorder ID 376
necrodoom Feb 9, 2014
9bc8f28
Fix ghost items with /recipe
khobbits Feb 9, 2014
fa765d3
Fix world argument to ignore radius, and allow for skipping radius pa…
khobbits Feb 9, 2014
2500c9a
Fix spelling error (atleast) in translation files.
evonuts Feb 11, 2014
970d342
Merge pull request #657 from evonuts/2.x
Iaccidentally Feb 11, 2014
98bee40
Fix Stripping/blocking of urls containing caps.
khobbits Feb 12, 2014
c50f559
Allow sending customtext chapters as a parameter instead of reading c…
khobbits Feb 13, 2014
11b308c
Update repository URLs
chrisgward Feb 15, 2014
6744b65
Use the absolute radius value.
khobbits Feb 16, 2014
a1a190b
Merge branch '2.x' of github.com:essentials/Essentials into 2.x
khobbits Feb 16, 2014
3f2c2aa
Split unsafe enchantments in kits to a new config option
snowleo Feb 18, 2014
53c1c8a
Update Bukkit to 1.7.3-R0.3 - Bukkit: 1903 CB: 3020
khobbits Feb 19, 2014
34599b7
Fix projectiles compiling.
khobbits Feb 19, 2014
e409363
Alternative implementation of unsafe enchant blocking for signs.
khobbits Feb 19, 2014
088c54e
Fix customtext copy
khobbits Feb 19, 2014
2d5c1fd
Fix safety tp check above world height
khobbits Feb 23, 2014
3b35763
Fix warp sign costs.
khobbits Feb 25, 2014
470f4c1
Constant user file casing.
khobbits Feb 27, 2014
b0e1655
Round to gc output to 2 dp.
khobbits Mar 3, 2014
9ec0ca2
User loading cleanup
khobbits Mar 3, 2014
545d706
Fix login death caused by built up fall damage using /fly.
khobbits Mar 3, 2014
859ffea
Remove generated comments
stuntguy3000 Feb 23, 2014
e443776
Finish Sentence
GingerGeek Feb 17, 2014
de485b8
Fixed some grammatic errors, changed some sentences.
SkyBirdSoar Jan 1, 2014
ee98676
Cleaning up readme markdown
Dec 28, 2013
28ec7c2
You can now access the old balance during the UserBalanceUpdateEvent …
Dykam Mar 4, 2014
1be30e4
Only enable teleport protection on plugin/command caused teleport eve…
khobbits Mar 9, 2014
c59a204
Remove op and replace with permission
FearFree Mar 7, 2014
077074c
Add missing language pointers
stuntguy3000 Mar 8, 2014
a7d6e54
Fix messages
necrodoom Mar 9, 2014
b469439
Update translations from Crowdin
khobbits Mar 9, 2014
2ee590d
Add IEssentialsSpawn class for API for Essentials Spawn with two meth…
daboross Oct 24, 2013
8fecd44
Fix some /home errors with invalid data.
khobbits Mar 9, 2014
c6b0dfa
Merge pull request #668 from necrodoom/patch-91
ElgarL Mar 12, 2014
0b5718f
Cleanup warp charging, to properly handle warp sign costs.
khobbits Mar 19, 2014
5724c0c
Future Java versions may not support _ as identifier.
FearFree Mar 20, 2014
3538728
Fix null teleport costs.
khobbits Mar 23, 2014
200dbda
Merge branch '2.x' of github.com:essentials/Essentials into 2.x
khobbits Mar 23, 2014
b673882
Do not allow a block with an Essentials Sign attached to it to be pul…
chrisgward Mar 26, 2014
0b11abf
Revert "Do not allow a block with an Essentials Sign attached to it t…
khobbits Mar 26, 2014
30dae51
Some messages fixes, and information addition.
necrodoom Mar 26, 2014
cfe89dd
Match /clearinventory multiple permission to /msg
necrodoom Mar 26, 2014
4b470b3
Add socialspy wildcard support
necrodoom Mar 26, 2014
ae18047
Helpop should use broadcast method
khobbits Mar 26, 2014
6cfb508
Add local echo to tempban command.
khobbits Mar 26, 2014
44fbd05
Add colors to a few TL keys.
CHCMATT Mar 26, 2014
104caea
Minor phrasing fixes.
evonuts Mar 26, 2014
93ace67
More minor phrasing
Armadil Mar 26, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
.DS_Store
/BuildAll/nbproject/private/
/EssentialsProtect/nbproject/private/
/EssentialsChat/nbproject/private/
/EssentialsGroupBridge/nbproject/private/
/EssentialsGeoIP/nbproject/private/
/EssentialsSpawn/nbproject/private/
/EssentialsXMPP/nbproject/private/
/EssentialsGroupManager/nbproject/private/
/BuildAll/build/
/EssentialsGroupBridge/dist/
/EssentialsGroupBridge/build/
/EssentialsGeoIP/dist/
/EssentialsGeoIP/build/
/EssentialsGroupManager/build/
/EssentialsGroupManager/dist/
/BuildAll/dist/
/EssentialsChat/build/
/EssentialsChat/dist/
/EssentialsSpawn/build/
/EssentialsSpawn/dist/
/EssentialsXMPP/dist/
/EssentialsXMPP/build/
/EssentialsProtect/dist/
/EssentialsProtect/build/
/EssentialsPermissionsCommands/nbproject/private/
/EssentialsPermissionsCommands/build/
/EssentialsPermissionsCommands/dist/
/Essentials/nbproject/private/
/Essentials/dist/
/Essentials/build/
/YamlAnnotations/
/EssentialsUpdate/nbproject/private/
/EssentialsRelease/
/EssentialsUpdate/dist/
/EssentialsUpdate/build/
/WebPush/apikey.php
/WebPush/nbproject/private
/EssentialsGroupManager/bin
/EssentialsGroupManager/.externalToolBuilders
/EssentialsAntiBuild/nbproject/private/
/EssentialsAntiBuild/dist/
/EssentialsAntiBuild/build/
/jars
/out
.idea/
*.iml
target/
dependency-reduced-pom.xml
/Essentials/config.yml
/Essentials/userdata/testplayer1.yml
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: java
jdk:
- oraclejdk7
- openjdk7
- openjdk6
script: mvn compile test
install: true
notifications:
irc:
channels:
- "irc.esper.net#lain"
on_success: change
on_failure: always
email:
recipients:
- "[email protected]"
on_success: change
on_failure: always
133 changes: 133 additions & 0 deletions Essentials/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>net.ess3</groupId>
<artifactId>EssentialsParent</artifactId>
<version>2.x-SNAPSHOT</version>
</parent>

<artifactId>Essentials</artifactId>

<url>http://ess3.net/</url>

<organization>
<name>Essentials Team</name>
<url>http://ess3.net/</url>
</organization>

<licenses>
<license>
<name>GPLv3</name>
<url>http://www.gnu.org/copyleft/gpl.html</url>
</license>
</licenses>

<scm>
<connection>scm:git:https://github.com/essentials/Essentials.git</connection>
<developerConnection>scm:git:https://github.com/essentials/Essentials.git</developerConnection>
<url>https://github.com/essentials/Essentials</url>
</scm>

<issueManagement>
<system>JIRA</system>
<url>http://essentials3.atlassian.net</url>
</issueManagement>

<ciManagement>
<system>TeamCity</system>
<url>http://ci.ess3.net/</url>
</ciManagement>

<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.7.2-R0.3-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/bukkit.jar</systemPath>
</dependency>
<dependency>
<groupId>BOSEconomy</groupId>
<artifactId>BOSEconomy</artifactId>
<version>v0.7.8.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/BOSEconomy.jar</systemPath>
</dependency>
<dependency>
<groupId>de.bananaco</groupId>
<artifactId>bPermissions</artifactId>
<version>v2.12-DEV</version>
</dependency>
<dependency>
<groupId>iConomy</groupId>
<artifactId>iConomy5</artifactId>
<version>5</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/iCo5.jar</systemPath>
</dependency>
<dependency>
<groupId>iConomy</groupId>
<artifactId>iConomy6</artifactId>
<version>6</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/iCo6.jar</systemPath>
</dependency>
<dependency>
<groupId>net.ess3</groupId>
<artifactId>GroupManager</artifactId>
<version>${project.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/../EssentialsGroupManager/dist/EssentialsGroupManager.jar</systemPath>
</dependency>
<dependency>
<groupId>MultiCurrency</groupId>
<artifactId>MultiCurrency</artifactId>
<version>2.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/MultiCurrency.jar</systemPath>
</dependency>
<dependency>
<groupId>com.platymuus</groupId>
<artifactId>bukkit-permissions</artifactId>
<version>2.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/PermissionsBukkit.jar</systemPath>
</dependency>
<dependency>
<groupId>ru.tehkode</groupId>
<artifactId>PermissionsEx</artifactId>
<version>1.20.4</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/PermissionsEx.jar</systemPath>
</dependency>
<dependency>
<groupId>Privileges</groupId>
<artifactId>Privileges</artifactId>
<version>1.8.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/Privileges.jar</systemPath>
</dependency>
<dependency>
<groupId>SimplyPerms</groupId>
<artifactId>SimplyPerms</artifactId>
<version>1.7.6</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/SimplyPerms.jar</systemPath>
</dependency>
<dependency>
<groupId>net.milkbowl</groupId>
<artifactId>vault</artifactId>
<version>1.2.27</version>
</dependency>
<dependency>
<groupId>zPermissions</groupId>
<artifactId>zPermissions</artifactId>
<version>1.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/zPermissions.jar</systemPath>
</dependency>
</dependencies>
</project>
18 changes: 18 additions & 0 deletions Essentials/src/book.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This is the book file.

This file format works similar to the info.txt, motd.txt and rules.txt

Place content in here that you would like to be used by books ingame.

You can use this content by using the book:<section> meta option in kits or item spawning.

#Colors
Minecraft colors:
&0 &&0 &1 &&1 &2 &&2 &3 &&3
&4 &&4 &5 &&5 &6 &&6 &7 &&7
&8 &&8 &9 &&9 &a &&a &b &&b
&c &&c &d &&d &e &&e &f &&f
&0
&&k &kMagic&r &&l &lBold
&&m &mStrike&r &&n &nUline
&&o &oItalic&r &&r &rReset
139 changes: 139 additions & 0 deletions Essentials/src/com/earth2me/essentials/AlternativeCommandsHandler.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
package com.earth2me.essentials;

import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.ess3.api.IEssentials;
import org.bukkit.command.Command;
import org.bukkit.command.PluginCommand;
import org.bukkit.command.PluginCommandYamlParser;
import org.bukkit.plugin.Plugin;


public class AlternativeCommandsHandler
{
private static final Logger LOGGER = Logger.getLogger("Essentials");
private final transient Map<String, List<PluginCommand>> altcommands = new HashMap<String, List<PluginCommand>>();
private final transient Map<String, String> disabledList = new HashMap<String, String>();
private final transient IEssentials ess;

public AlternativeCommandsHandler(final IEssentials ess)
{
this.ess = ess;
for (Plugin plugin : ess.getServer().getPluginManager().getPlugins())
{
if (plugin.isEnabled())
{
addPlugin(plugin);
}
}
}

public final void addPlugin(final Plugin plugin)
{
if (plugin.getDescription().getMain().contains("com.earth2me.essentials"))
{
return;
}
final List<Command> commands = PluginCommandYamlParser.parse(plugin);
final String pluginName = plugin.getDescription().getName().toLowerCase(Locale.ENGLISH);

for (Command command : commands)
{
final PluginCommand pc = (PluginCommand)command;
final List<String> labels = new ArrayList<String>(pc.getAliases());
labels.add(pc.getName());

PluginCommand reg = ess.getServer().getPluginCommand(pluginName + ":" + pc.getName().toLowerCase(Locale.ENGLISH));
if (reg == null)
{
reg = ess.getServer().getPluginCommand(pc.getName().toLowerCase(Locale.ENGLISH));
}
if (reg == null || !reg.getPlugin().equals(plugin))
{
continue;
}
for (String label : labels)
{
List<PluginCommand> plugincommands = altcommands.get(label.toLowerCase(Locale.ENGLISH));
if (plugincommands == null)
{
plugincommands = new ArrayList<PluginCommand>();
altcommands.put(label.toLowerCase(Locale.ENGLISH), plugincommands);
}
boolean found = false;
for (PluginCommand pc2 : plugincommands)
{
if (pc2.getPlugin().equals(plugin))
{
found = true;
}
}
if (!found)
{
plugincommands.add(reg);
}
}
}
}

public void removePlugin(final Plugin plugin)
{
final Iterator<Map.Entry<String, List<PluginCommand>>> iterator = altcommands.entrySet().iterator();
while (iterator.hasNext())
{
final Map.Entry<String, List<PluginCommand>> entry = iterator.next();
final Iterator<PluginCommand> pcIterator = entry.getValue().iterator();
while (pcIterator.hasNext())
{
final PluginCommand pc = pcIterator.next();
if (pc.getPlugin() == null || pc.getPlugin().equals(plugin))
{
pcIterator.remove();
}
}
if (entry.getValue().isEmpty())
{
iterator.remove();
}
}
}

public PluginCommand getAlternative(final String label)
{
final List<PluginCommand> commands = altcommands.get(label);
if (commands == null || commands.isEmpty())
{
return null;
}
if (commands.size() == 1)
{
return commands.get(0);
}
// return the first command that is not an alias
for (PluginCommand command : commands)
{
if (command.getName().equalsIgnoreCase(label))
{
return command;
}
}
// return the first alias
return commands.get(0);
}

public void executed(final String label, final PluginCommand pc)
{
final String altString = pc.getPlugin().getName() + ":" + pc.getLabel();
if (ess.getSettings().isDebug())
{
LOGGER.log(Level.INFO, "Essentials: Alternative command " + label + " found, using " + altString);
}
disabledList.put(label, altString);
}

public Map<String, String> disabledCommands()
{
return disabledList;
}
}
Loading