Commit graph

721 commits

Author SHA1 Message Date
KHobbits 1e7bf9a46c Removing hole in floor, tp cop-out.
This should force the code to find an suitable tp location.
- Not sure how well this will effect performance, but wanted to test it.
2011-08-11 02:59:40 +01:00
KHobbits 19595c5847 Add '@' prefix to time, to fix the time, rather than relative. 2011-08-10 15:06:42 +01:00
KHobbits 47c8217511 Merge diff from krnlyng:
Adjust item spawn, to allow for match native names.
2011-08-10 10:45:24 +01:00
KHobbits ec5746dbe6 Fixing omission on last patches. 2011-08-10 12:05:05 +06:00
KHobbits 05ba5c00e6 Patch around broken bukkit method. 2011-08-10 11:36:09 +06:00
KHobbits 5bb86309f6 Fixing display timezone if the server isn't running GMT+1 2011-08-10 10:41:03 +06:00
KHobbits abbeb0a212 Added method to list users fixed time. 2011-08-10 05:25:45 +01:00
KHobbits d9d781a33a Adjust times a little bit to be more realistic? 2011-08-10 04:54:03 +01:00
snowleo 327c15c5be Allow other plugins to use the same first line on signs as essentials. Just make sure that the player, who creates the sign does not have essentials.signs.signname.create or essentials.signs.create.signname permission. 2011-08-08 22:40:54 +02:00
snowleo 858e2a8b89 Reverting some changes to /time command 2011-08-08 18:21:38 +02:00
snowleo a8f6014a42 Some fixes to the time code by me 2011-08-08 17:51:16 +02:00
snowleo a117080b32 Some fixes to the time code by me 2011-08-08 17:49:32 +02:00
snowleo f75390bd3f Correct code format for file DescParseTickFormat 2011-08-08 17:46:12 +02:00
snowleo b07ba21659 Corrected permission testing a bit 2011-08-08 17:01:03 +02:00
snowleo a109134b92 Part of oloflarsson new time command
Semi complete awesome time command. This is missing: Help text, I18N.
2011-08-08 17:00:04 +02:00
snowleo 69d3921a6a Fixes to jail 2011-08-08 16:42:56 +02:00
snowleo 62ebf3db41 Fix /spawner with PigZombie 2011-08-08 15:34:32 +02:00
snowleo a90b16be36 Prevent muted players from using /msg 2011-08-08 15:34:10 +02:00
snowleo d07ecde47d Fix essentials.joinfullserver 2011-08-08 15:24:38 +02:00
snowleo 5db35458e8 Limiting the length of the name on signs to 13 instead of 14 2011-08-08 15:13:27 +02:00
snowleo cf4752dad6 Restrict sign protections to valid signs only 2011-08-08 15:07:26 +02: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
KHobbits 65702ea0bf Updating register to latest build. 2011-08-08 10:20:04 +01:00
KHobbits 614b7b84f7 Adding new register methods. 2011-08-08 10:17:13 +01:00
KHobbits a04e0533d6 More register libs 2011-08-08 10:02:18 +01:00
KHobbits b85a5e9e0d Making /help <string> match the plugin name. 2011-08-08 09:23:48 +01:00
KHobbits 9eb73cf854 Merge pull request #21 from khobbits/master
rainbow sheep
2011-07-27 17:20:16 -07:00
KHobbits 12777af61a adding sheep:random to /spawnmob 2011-07-28 01:15:47 +01:00
KHobbits acb50786c4 Merge pull request #20 from khobbits/master
Ban changes
2011-07-27 06:28:57 -07:00
KHobbits 7b18343e75 Adding a permission for unhiding help. 2011-07-27 14:25:41 +01:00
snowleo beb34a7651 Allow fractions of 1 2011-07-27 01:04:21 +02:00
snowleo 0ac26265e2 Fix for money exploit on trade signs 2011-07-27 01:00:55 +02:00
KHobbits 0ab8a2760d Adding tempban/kick broadcast permissions and adding a banned by to the broadcast.
Adding tempban/kick broadcast permissions and adding a banned by to the broadcast.
Merge branch 'master' of github.com:khobbits/Essentials

Conflicts:
	Essentials/src/messages.properties
	Essentials/src/messages_da.properties
	Essentials/src/messages_en.properties
	Essentials/src/messages_fr.properties
	Essentials/src/messages_nl.properties
Merge branch 'master' of github.com:khobbits/Essentials
2011-07-26 14:23:14 +01:00
snowleo bc1c252dca Correcting all line endings to LF 2011-07-24 23:19:12 +02:00
snowleo b84785cc82 If add-prefix-suffix is not set in config and EssentialsChat is installed, it will default to true now for backwards compatibility. 2011-07-24 00:41:54 +02:00
snowleo 164541794e SuperpermsBridge fail 2011-07-23 13:17:22 -07:00
snowleo 7aea9e71e8 NPE check in PlayerInteract 2011-07-23 19:13:05 +02:00
snowleo 0e21d3287e Fix Util.getSafeDestination() to use int instead of double. 2011-07-23 02:06:13 +02:00
snowleo 3cedfeef2c Separate config setting for prefix/suffix 2011-07-23 01:43:02 +02:00
snowleo 979592c8ba Missing space in Spawnmob message 2011-07-23 01:10:22 +02:00
snowleo 7001798874 Don't give out a full stack on /unlimited, instead either 2 or 1, if the max stack size is 1 2011-07-23 01:03:45 +02:00
snowleo 40a2bccf2d Now the cleanup 2011-07-23 00:53:55 +02:00
snowleo ee13d33b66 Revert "minor cleanup"
This reverts commit 5027198010.

Don't mess with the line endings!
2011-07-23 00:50:52 +02:00
snowleo fdb46f60fd Add white color after each name to prevent coloration of the next name. 2011-07-23 00:47:02 +02:00
ementalo 5027198010 minor cleanup 2011-07-22 23:33:33 +01:00
Robert Meany 85cab9533e *First Commit - Please verify I did everything right* - Added translations
to plugin help command failure log messagets.
2011-07-22 13:53:06 -04:00
ementalo 304b13ca5e SignProtection code fix number 92324 2011-07-22 17:16:08 +01:00
ementalo 6a1c53dd01 SignProtection another fix 2011-07-22 17:03:55 +01:00
ementalo d7b2ac97aa fix of my fix 2011-07-22 16:56:41 +01:00
ementalo 7b7289db4c Test #725 fix for Protection signs created before 2.5 2011-07-22 14:07:04 +01:00
ementalo ba2b827d7c Test #723 essentials.ban.notify - only people with this permission get notified on ban 2011-07-22 12:36:49 +01:00
snowleo 54559172c6 /unlimited: Instead of 2, give the player a full stack 2011-07-21 02:58:20 +02:00
snowleo 4f31d2779d Null pointer check for Perm 2.7.4 prefix/suffix 2011-07-21 02:09:54 +02:00
snowleo ed29f29622 Merge pull request #15 from khobbits/patch-3
Not sure how well this would work, but its probably worth giving the user at least two of the item to combat client lag, if you try and build something with unlimited, but you only have 1 item, client lag prevents you from doing so quickly, because you need to wait for the server to give you back the item.
2011-07-20 16:44:51 -07:00
snowleo 28dd14d38c Fix /time for players without essentials.time.world 2011-07-20 23:18:09 +02:00
snowleo 815b700eac Don't return offline players with getPlayer() 2011-07-20 22:14:56 +02:00
snowleo fcda9f9d3b Prevent players to create correct signs with essentials.signs.color permission. 2011-07-20 22:04:02 +02:00
snowleo aa663c0c98 Don't teleport to offline users. 2011-07-20 22:03:15 +02:00
snowleo bda2f5e615 Show player not found message, if no unhidden player is found in /msg 2011-07-20 21:36:23 +02:00
snowleo 377f967dab Native support for PermissionsEx 2011-07-20 20:42:19 +02:00
snowleo 06dc9c25af Revert "I don't think we need this anymore."
This reverts commit 83b71eef5e.

Also inverted it, so it works now again.
2011-07-20 18:36:29 +02:00
snowleo feb1c53004 Spawnmob sign 2011-07-20 18:20:12 +02:00
snowleo 2530a5018f Cleanup 2011-07-20 18:19:26 +02:00
KHobbits d5c8d0c1bf Not sure how well this would work, but its probably worth giving the user at least two of the item to combat client lag, if you try and build something with unlimited, but you only have 1 item, client lag prevents you from doing so quickly, because you need to wait for the server to give you back the item. 2011-07-20 08:15:40 -07:00
snowleo 8828fb0868 Socialspy for aliases of commands
Adding tell as alias of msg
2011-07-20 17:11:59 +02:00
snowleo cc29ebbbc9 Fix: Unmute players, even if they have essentials.mute.exempt permission 2011-07-20 17:10:55 +02:00
snowleo 150a0e0ddd /tempban and /ban have the same problem as /tjail
new permissions:
essentials.ban.offline
essentials.tempban.offline
2011-07-19 01:32:48 +02:00
snowleo d388290427 user.dispose() should be called on every quit. 2011-07-19 01:27:56 +02:00
snowleo c8ba06f0ee We can't test for essentials.jail.exempt, if the player is offline, so added a new permission essentials.togglejail.offline 2011-07-19 01:27:16 +02:00
snowleo a65390ed98 More fixes to /tjail
Don't prevent unjailing an admin
Fix time change
2011-07-19 01:12:19 +02:00
snowleo 6b85b306ef Another fix for /tjail offline players 2011-07-19 00:59:43 +02:00
snowleo fdbb6510ef Send helpop messages to console 2011-07-19 00:46:41 +02:00
snowleo d0bf1905a9 {UNIQUE} player count for motd 2011-07-19 00:10:33 +02:00
snowleo 548666b79b show hidden for /whois 2011-07-19 00:09:30 +02:00
snowleo 6dbb5bc605 Always use lowercase if accessing users map. 2011-07-19 00:02:35 +02:00
ementalo 15687c20d0 only check hidden if !offline, compare user with offlineplayer class 2011-07-18 22:49:27 +01:00
ementalo 81cc5b1f28 Add yet another way to get a user from our users list, Don't teleport an offline player when jailed
Added playerjoin to jaillistener to teleport a player on login
2011-07-18 22:16:58 +01:00
snowleo 7aea8a3fce NPE fix in InventoryWorkaround 2011-07-18 22:39:01 +02:00
snowleo d2bc7e01a2 Workaround for the crippled bukkit permissions.
Splits the node at . and checks for * permissions on all levels.
2011-07-18 13:18:28 +02:00
snowleo 83b71eef5e I don't think we need this anymore. 2011-07-18 06:19:40 +02:00
snowleo b88d0f88a1 Fix: Player staying afk if moving 2011-07-18 06:08:13 +02:00
snowleo fd1256b449 Only show hidden player count, if it's more than 0 2011-07-18 05:45:05 +02:00
snowleo c1c3005454 Fix InventoryWorkaround.addItem() not using the combined list. 2011-07-18 04:59:47 +02:00
snowleo a3c71e4617 Append the event and not the word event to trade log 2011-07-18 04:58:55 +02:00
snowleo 5aa2bc1706 Log location of /sell and signs 2011-07-18 04:49:38 +02:00
snowleo 277c623a77 Missing return in /time reset command 2011-07-18 04:42:10 +02:00
snowleo e37db99c56 Fix player still being in user list after he was deleted. 2011-07-18 03:54:33 +02:00
snowleo be83383fd5 Added option to hide player from /list /who ... login message.
This is for other plugins, that want to hide a player.
Use IEssentials.getUser(Player p).setHidden(boolean)
2011-07-18 03:42:21 +02:00
snowleo e0dc003464 Cleaned deprecated functions 2011-07-18 01:17:24 +02:00
snowleo 1ce6be5944 Protection of signs against pistons 2011-07-18 00:50:03 +02:00
snowleo cc31fbed8e Bukkit Permission system
New config setting: use-bukkit-permissions
2011-07-18 00:30:39 +02:00
ementalo 29a15dfe18 CB #1000 Bukkit #700 2011-07-17 22:31:12 +01:00
ementalo 2f00865847 Test #706. essentials.mute.exempt - messages for mute players 2011-07-17 00:13:57 +01:00
ementalo 462fe18b15 Merge branch 'master' of github.com:essentials/Essentials 2011-07-17 00:08:30 +01:00
ementalo 31326d530f essentials.mute.exempt prevents muting, send messages when a player is muted to the muted 2011-07-16 23:53:53 +01:00
snowleo 088f50ce8a mute for offline users 2011-07-16 16:52:50 +02:00
snowleo 5ad12b52f8 Register API #8f66f7dcae80945250301a9d9e644a74ab28d0b6
Supports BOSE7
2011-07-16 14:04:30 +02:00
snowleo e6685abe4d Disable old message about iconomy not being enabled before essentials 2011-07-16 05:56:35 +02:00
snowleo f867f675b9 fix kickexempt 2011-07-16 05:55:52 +02:00
snowleo d9bfabd652 Revert to correct class loader 2011-07-16 05:06:08 +02:00
snowleo d9b88a83d1 restricted-commands have been removed from config.yml
Now we have a whitelist: player-commands
2011-07-16 04:05:43 +02:00
snowleo a8fdce257b Log free signs.
We don't how much the user takes out of the free sign, so we log the maximum value.
Also corrected the stack sizes.
2011-07-16 03:51:12 +02:00
snowleo c3a8958046 Colored signs with &0-f
Permissions: essentials.signs.color
2011-07-16 03:23:58 +02:00
snowleo d0345e45b6 Revert broken ban reason for /tempban 2011-07-16 03:11:52 +02:00
snowleo db27a8c627 Merge branch 'master' of https://github.com/essentials/Essentials 2011-07-16 02:38:46 +02:00
snowleo 78c376af79 Created an interface for settings. 2011-07-16 02:38:22 +02:00
ementalo b749cd4e42 Merge pull request #12 from khobbits/master
Tidy plugins.yml, tidy help.
2011-07-15 17:12:29 -07:00
ementalo a0554f566d This change did not commit 2011-07-16 01:09:28 +01:00
ementalo 1696d7ae71 Test #393 adding optional ban reason with tempban /tempban player time reason, also adding essentials.tempban.exempt 2011-07-16 01:05:11 +01:00
snowleo ad8ad8b574 Fix merge error 2011-07-16 01:35:30 +02:00
snowleo 3c28dabfad Merge branch 'master' of https://github.com/essentials/Essentials 2011-07-16 01:33:33 +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 f104c2e8f6 offline player validation for banning 2011-07-15 22:58:03 +01:00
ementalo 4dc92a144e Merge branch 'master' of github.com:essentials/Essentials 2011-07-15 22:51:43 +01:00
ementalo 1a7b198353 fixing offline player permissions check-ups.
Ban for offline players.
2 new permissions nodes. essentials.ban.exempt and essentials.kick.exempt. People with this permission cannot be banned / kicked
2011-07-15 22:48:42 +01:00
snowleo 25c9557c59 Cleanup of Essentials class
Moved all ban stuff to BanWorkaround
2011-07-15 23:39:56 +02:00
snowleo 963fd7cf01 Fix #682 line numbers of trade signs corrected 2011-07-15 22:02:43 +02:00
KHobbits d7080950b0 Format. 2011-07-15 20:59:40 +01:00
snowleo 9c51f6e177 Test #683
fix for unbreakable sign
2011-07-15 21:58:24 +02:00
KHobbits 39352da929 Adding a failure message for help search 2011-07-15 20:56:58 +01:00
snowleo ad65e66a7c Cleanup of Essentials Block and Player Listeners
Removed old sign code
Moved some jail stuff to the JailPlayerListener
Jail Events now have low priority, so that events are cancelled early.
2011-07-15 21:49:52 +02:00
snowleo 411e96bb18 Fix /time command:
Removed essentials.time.player permission (this is now default)
Added essentials.time.others permission
Admins can now set the time of players
Added reset option, that sets the time of the player to the world time
2011-07-15 21:16:06 +02:00
snowleo 705f9c267c Broadcast message on kick/ban 2011-07-15 20:49:47 +02:00
snowleo d2db6348d9 Moved user.setDisplayName() from EssentialsChat to Essentials
Added new config: change-displayname (default to true)
It allows users to disable the setDisplayName, if they have other plugins that modify the display name
Updated user.getNick() to use StringBuilder
2011-07-15 20:35:09 +02:00
snowleo ae7275c7ad New permission: essentials.sleepingignored 2011-07-15 20:13:52 +02:00
snowleo cecb9867d9 /balance in console for offline users 2011-07-15 20:06:34 +02:00
snowleo 37d77f3e89 Disable /unlimited for fire block 2011-07-15 19:38:27 +02:00
snowleo f4ef5a2094 Correct sorting 2011-07-15 19:29:06 +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 3898970bba balance top output to chat 2011-07-15 16:15:29 +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
ementalo 1b0b0b1b57 fix messages when /eco'ing others 2011-07-14 23:27:04 +01:00
ementalo 4c89ef5638 Test #614 fix for socialspy 2011-07-14 22:58:36 +01:00
snowleo 5478a47e25 Signcolors also has High, so we have to use Highest 2011-07-10 14:14:40 -07:00
snowleo 48affa91b0 Fix signcolors bug 2011-07-10 14:11:50 -07:00
ementalo b9b5db8ccd merge went odd 2011-07-09 12:52:46 +01:00
ementalo 7ec1ca651f CB# 974 2011-07-09 12:45:41 +01:00
KHobbits beea6879b1 Edited Essentials/src/com/earth2me/essentials/commands/Commandhelp.java via GitHub 2011-07-08 19:51:48 -07:00
ementalo e4ba0245be fix take message for ec 2011-07-08 12:49:57 +01:00
ementalo aefbf921fe fixing eco command player argument. must be careful with c&p :/ 2011-07-08 12:38:54 +01:00
ementalo 8a1fb88ecd missed this from checkin oops 2011-07-08 12:29:06 +01:00
ementalo 962b6848c4 /balance offline players. Send message to initiator of eco commands 2011-07-08 12:24:32 +01:00
ementalo 2086b8c978 update signs after trades 2011-07-08 12:00:18 +01:00
ementalo 343291b210 copy and paste argument fix 2011-07-08 10:39:49 +01:00
ementalo 7ed57bc291 /eco offline players 2011-07-08 10:37:40 +01:00
snowleo cb5ab32be6 Set priority to Highest to prevent item dupe with trade signs. 2011-07-08 02:10:42 +02:00
ementalo 39770cd46d Test #304 set the location using the setters location, not the players location.
Support for offlline players
2011-07-07 22:24:50 +01:00
ementalo f58fa10686 use full english for disconnect to spare eyeballs 2011-07-07 21:43:44 +01:00
ementalo da8d5454d4 #539 new config . remove-god-on-discon if people discon with godmode on it will be turned off on quit. 2011-07-07 21:37:55 +01:00