Commit Graph

455 Commits

Author SHA1 Message Date
Steven Scott
49120b1f8d ' 2012-04-21 18:35:13 -07:00
Stefan Bossbaly
5a872f3c86 Check to see if the events are canceled for onPlayerMove() and onPlayerInteract()
Make sure that the events are not canceled. Region protection plugins will cancel
events if a player is not authorized to be there.
2012-04-21 22:17:12 -03:00
Steven Scott
8ad6ab57ad Update version number, oops 2012-03-31 10:50:19 -07:00
Steven Scott
cfd059d24c [Version 0.7.6.5]
- Resolve issue with buttons on glass gates falling off
 - /sg reload can now be used ingame (stargate.admin.reload permission)
2012-03-31 10:49:58 -07:00
Steven Scott
9b81b6191b [Version 0.7.6.4]
- Move blockBreak to HIGHEST priority, this resolves issues with region
protection plugins
2012-03-29 21:18:04 -07:00
Steven Scott
7655989ddc [Version 0.7.6.3]
- Fixed issue with displaying iConomy prices
 - iConomy is now hooked on "sg reload" if not already hooked and
enabled
 - iConomy is now unhooked on "sg reload" if hooked and disabled
2012-03-27 20:33:18 -07:00
Steven Scott
5046af37a0 [Version 0.7.6.2]
- Button now activates if gate is opened, allowing redstone interaction
 - Fixed issue with sign line lengths. All sign text should now fit with
color codes.
2012-03-26 21:00:08 -07:00
Steven Scott
5beed6a712 Update config.yml to have descriptions in header only 2012-03-18 16:45:39 -07:00
Steven Scott
13c9f174c6 Allow changing of sign colors 2012-03-18 16:40:02 -07:00
Steven Scott
dcc978a07e Resolve issue with explosion cancelling leaving invalid gates (Data
values)
Check blockBreakEvents for gate entrance blocks is protectEntrance is
enabled (More intensive than regular check. Only enable if required)
2012-03-18 16:12:01 -07:00
Steven Scott
b63faca109 More API changes for StargateCommand 2012-03-14 23:24:34 -07:00
Steven Scott
88b30b3579 API changes for StargateCommand 2012-03-14 21:57:54 -07:00
Steven Scott
4367e3a36a [Version 0.7.6]
- Moved gate opening/closing to a Queue/Runnable system to resolve
server lag issues with very large gates
2012-03-10 16:17:29 -08:00
Steven Scott
f898e1f00c [Version 0.7.5.11]
- PEX now returns accurate results without requiring use of the bridge.
- We are now LGPL
2012-03-09 23:27:34 -08:00
Steven Scott
1ba8c723de [Version 0.7.5.10]
- Added sortLists options
2012-03-06 07:18:59 -08:00
Steven Scott
7ba6eeee6b [Version 0.7.5.9]
- Quick event fix for latest dev builds
 - Fix for sign ClassCastException
2012-03-04 11:30:26 -08:00
Steven Scott
bfcdd212c4 [Version 0.7.5.8]
- Fixed an exploit with pistons to destroy gates
[Version 0.7.5.7]
 - Removed SignPost class
 - Resolved issues with signs in 1.2
2012-03-04 00:15:49 -08:00
Steven Scott
3ff6b8b253 [Version 0.7.5.6]
- Quick update to the custom event code, works with R5+ now.
2012-02-22 19:11:50 -08:00
Steven Scott
f33586ced8 I'm tired of having to work around PEX's screwed up logic. As of this
update a warning is issued if PEX is found without the Permissions
Bridge, I will no longer be offering support for PEX.

[Version 0.7.5.5]
 - PEX is built of fail, if we have it, use bridge instead.
[Version 0.7.5.4]
 - Fix issue with private gates for players with long names
2012-02-12 00:19:58 -08:00
Steven Scott
f676e2520f [Version 0.7.5.3]
- Added another check for Perm bridges.
2012-02-05 14:56:58 -08:00
Steven Scott
9f76acbc17 [Version 0.7.5.2]
- Make sure our timer is stopped on disable
 - Move Event reg before loading gates to stop portal material vanishing
2012-02-05 12:36:40 -08:00
Steven Scott
425d5a988d [Version 0.7.5.1]
- Don't create button on failed creation
2012-02-02 22:52:33 -08:00
Steven Scott
b4e4b50d60 Fix Portal.getNetwork() 2012-02-02 22:21:29 -08:00
Steven Scott
218484f445 [Version 0.7.5.0]
- Refactored creation code a bit
 - Added StargateCreateEvent, see Stargate-API for usage.
 - Added StargateDestroyEvent, see Stargate-API for usage.
 - Updated Event API to the new standard, please see:
http://wiki.bukkit.org/Introduction_to_the_New_Event_System
 - Added handleVehicles option.
 - Added 'N'o Network option (Hides the network from the sign)
2012-02-02 22:00:30 -08:00
Steven Scott
bf92401ea9 [Version 0.7.4.4]
- Changed the implementation of StargateAccessEvent.
 - Disable Permissions if version is 2.7.2 (Common version used between
bridges)
 - Fix long-standing bug with hasPermDeep check. Oops.
2012-01-27 22:43:24 -08:00
Steven Scott
64053cdc63 [Version 0.7.4.3]
- Implement StargateAccessEvent, used for bypassing permission
checks/denying access to gates.
2012-01-27 22:01:52 -08:00
Steven Scott
82894b2e52 [Version 0.7.4.2]
- stargate.create.personal permission now also allows user to use
personal gates
2012-01-27 15:02:17 -08:00
Steven Scott
44be58f6a4 [Version 0.7.4.1]
- Quick API update to add player to the activate event
2012-01-07 13:16:43 -08:00
Steven Scott
5c34a21bf6 [Version 0.7.4.0]
- Fixed issue with non-air closed portal blocks
 - Added StargatePortalEvent/onStargatePortal event
2012-01-07 12:59:20 -08:00
Steven Scott
89491a5c26 [Version 0.7.3.3]
- Added "ignoreEntrance" option to not check entrance to gate on
integrity check (Workaround for snowmen until event is pulled)
2011-12-12 22:01:52 -08:00
Steven Scott
48cb69447d [Version 0.7.3.2]
- Actually fixed "><" issue with destMemory
2011-12-06 20:54:51 -08:00
Steven Scott
f071567abb [Version 0.7.3.1]
- Hopefully fixed "><" issue with destMemory
2011-12-05 19:09:00 -08:00
Steven Scott
cd69ac7c8a Lava and water gates no longer destroy on reload
"sg reload" now closes gates before reloading
Added Vault support
Added missing "useiConomy" option in default config
2011-12-03 19:56:50 -08:00
Steven Scott
d73f90c6e8 Quick fix for an NPE 2011-11-30 22:41:49 -08:00
Steven Scott
a088b2b3d2 [Version 0.7.2]
- Make it so you can still destroy gates in Survival mode
2011-11-27 19:54:14 -08:00
Steven Scott
7f7b18bd4a [Version 0.7.1]
- Added destMemory option
 - Switched to sign.update() as Bukkit implemented my fix
 - Threw in a catch for a null from location for portal events
2011-11-24 20:08:29 -08:00
Steven Scott
61e42034dd Update README
add config.yml
2011-11-21 20:09:52 -08:00
Steven Scott
52225ac12d Revert local repo 2011-11-21 20:09:05 -08:00
Steven Scott
13e4d9a6b2 [Version 0.6.10]
- Added Register support as opposed to iConomy
2011-10-16 12:31:30 -07:00
Steven Scott
02f83cb19b Added UTF8 support for lang files (With or without BOM) 2011-09-10 17:31:33 -07:00
Steven Scott
7e3efe2924 Remove a bit of debug code 2011-09-03 17:15:20 -07:00
Steven Scott
e781b6be50 [Version 0.6.8]
- Fixed unmanned carts losing velocity through gates
 - /sg reload now properly switches languages
[Version 0.6.7]
 - Added lang option
 - Removed language debug output
 - Added German language (lang=de) -- Thanks EduardBaer
2011-09-03 16:55:50 -07:00
Steven Scott
ab21354c7a [Version 0.6.6]
- Added %cost% and %portal% to all eco* messages
 - Fixed an issue when creating a gate on a network you don't have
access to
 - I can't spell
2011-08-28 21:35:33 -07:00
Steven Scott
394421dff8 Added stargate.create.gate permissions
This is really 0.6.5... Hopefully
2011-08-28 18:08:03 -07:00
Steven Scott
8e222ea87e Added 'S'how option for Always-On gates 2011-08-28 17:51:37 -07:00
Steven Scott
af37bac990 [Version 0.6.5]
- Moved printed message config to a seperate file
 - Added permdebug option
 - Hopefully fix path issues some people were having
 - Fixed iConomy creation cost
2011-08-28 17:40:36 -07:00
Steven Scott
f1cb266a0a Fixed iConomy 2011-08-25 21:27:43 -07:00
Steven Scott
fc6dda8b4a [V0.6.3]
Fixed (Not Connected) showing on inter-world gate loading
Added the ability to negate Network/World permissions
Fixed Lockette compatibility
More stringent verification checks
2011-08-22 23:02:43 -07:00
Steven Scott
2d9283fa7d Fixed an issue with personal gates
Added default permissions
2011-08-19 14:49:06 -07:00
Steven Scott
c8764c6091 Stop open gates from being destroyed on startup 2011-08-18 23:41:50 -07:00
Steven Scott
b747c9f0c0 Should hopefully be [v0.6.0]
Fixed cancellation of Portal events in Stargates
2011-08-18 22:14:00 -07:00
Steven Scott
e4c945449a Added Activate/Deactivate events 2011-08-18 22:00:35 -07:00
Steven Scott
f174d9003b Fixed issue with gate destruction
Added StargateEvent API
2011-08-18 21:00:02 -07:00
Steven Scott
1b117c3132 Complete re-write of Permissions
Far more advanced API for checking if people can do things
Better implementation of personal gate creation that works alongside
other network restrictions
Debug option now hides 90% of output if disabled
Better handling of undefined costs in .gate files
Network/World filter option now removed
SuperPerms support
Probably a lot more stuff I don't remember
2011-08-15 23:13:11 -07:00
Drakia
e1e3cd5e39 Added 'B'ackwards option
Fixed opening of gates with a fixed destination
Added block metadata support
2011-07-12 21:07:53 -07:00
Drakia
4968927528 Take into account world/network restrictions for Vehicles
Properly teleport empty vehicles between worlds
Properly teleport StoreageMinecarts between worlds
Take into account vehicle type when teleporting
2011-07-10 17:43:49 -07:00
Drakia
49c77a0d7d License change. 2011-07-02 20:03:42 -07:00
Drakia
3d898ba2b5 Update to teleport method
Update spawn minecart method
2011-06-22 22:26:37 -07:00
Drakia
85a98d87ef Left-click to scroll signs up
Show "(Not Connected)" on fixed-gates with a non-existant destination
Added "maxgates" option
Removed debug message
Started work on disabling damage for lava gates, too much work to
finish with the current implementation of EntityDamageByBlock
2011-06-12 16:37:38 -07:00
Drakia
d22a4b0871 Added chargefreedestination option
Added freegatesgreen option
Thanks @jtojnar
2011-05-07 13:13:21 -07:00
Drakia
858a40e0cf Added debug option
Fixed gates will now show in the list of gates they link to.
Line endings in SignPost
2011-05-06 17:00:21 -07:00
Drakia
4c6c829348 Fixed an NPE with iConomy handling 2011-05-05 22:21:51 -07:00
Drakia
9a296c282e More flexible iConHandler 2011-05-03 21:55:50 -07:00
Drakia
7508c8d386 Owner of gate now isn't charge for use if target is owner
Updated for iConomy 5.x
Fixed random iConomy bugs
2011-05-03 21:45:11 -07:00
Drakia
806f5e5e71 Enhanced network/world security. 2011-04-30 15:59:43 -07:00
Drakia
54af5f449e Made some errors more user-friendly
Properly take into account portal-closed material
2011-04-26 10:35:02 -07:00
Drakia
a27e1bd017 Hopefully stop placing of block in front of signs 2011-04-25 21:34:05 -07:00
Drakia
b54c7ce62f Gates can not be created on existing gates 2011-04-24 21:52:10 -07:00
Drakia
b9d9ee7c4f Sign option permissions
Per-gate iconomy target
/sg reload command
Other misc fixes
2011-04-11 22:11:59 -07:00
Drakia
2d97b497d8 Carts with no player can now go through gates.
You can set gates to send their cost to their owner.
Cleaned up the iConomy code a bit, messages should only be shown on
actual deduction now.
Created separate 'stargate.free.{use/create/destroy}' permissions.
2011-04-08 00:42:34 -07:00
Drakia
91bf4e25ef Remove debug msg 2011-04-06 03:09:08 -07:00
Drakia
bae416cac7 Added 'stargate.world.*' permission
Added 'stargate.network.*' permission
Added 'networkfilter' option
Added 'worldfilter' option
2011-04-06 01:42:24 -07:00
Drakia
e3f550d43d Fixed sign update issue. 2011-04-06 01:03:52 -07:00
Drakia
b17d00e4e8 Added 'stargate.free' permission
Added iConomy cost into .gate files
2011-04-04 21:55:33 -07:00
Drakia
8bdbb4a613 Fixed the Blox hashcode
Added 'F'ree option to gates
Added vehicle handling code, including iConomy while in a vehicle
Framework for changing where iConomy sends money
2011-04-02 14:17:17 -07:00
Drakia
77ed32c7fa Fixed vehicle implementation 2011-03-29 01:43:18 -07:00
Drakia
905cf2ac45 Fixed a bug in iConomy checking. 2011-03-28 12:07:08 -07:00
Drakia
2860b13412 Changed hashCode() in Blox to take the world into account 2011-03-20 15:59:22 -07:00
Drakia
eef287f526 Replaced spaces with tabs 2011-03-20 01:34:56 -07:00
Drakia
67e54157bc iConomy Handler 2011-03-20 01:32:45 -07:00
Drakia
1add1045ca Added iConomy support. Currently only works with iConomy 4.4 until Niji fixes 4.5 2011-03-20 01:29:55 -07:00
Drakia
9473ca8f6f Fixed an issue with removing stargates during load 2011-03-14 19:26:04 -07:00
Drakia
ec8c308651 Fixed portal count on load
Added stargate.create.personal for personal stargate networks
Fixed a bug with destroying stargates by removing sign/button
2011-03-14 12:13:04 -07:00
Drakia
432ab3bbc8 Fixed a bug with worlds in subfolders
Fixed gates being destroyed with explosions
Added stargate.destroy.owner
2011-03-13 03:07:17 -07:00
Drakia
a9461846de Fixed a loading bug in which invalid gates caused file truncation 2011-03-11 00:34:43 -08:00
Drakia
896dc04e7a Fixed multi-world stargates causing an NPE
Code cleanup
Added a few more errors when a gate can't be loaded
Hopefully fixed path issue on some Linux installs
2011-03-10 13:26:14 -08:00
Drakia
e851b395d2 Hopefully fixed bug with file seperator. Just forced "/" as it works on Windows and Linux 2011-03-10 01:32:27 -08:00
Drakia
bfde05eb5c Cleaned up code a bit
Added more output for when gates can't be loaded
2011-03-10 01:14:52 -08:00
Drakia
352c6e4357 Changed portals to per-world file
Lotsa null checks
Better blox.equals
2011-03-06 20:24:31 -08:00
Drakia
a7f6d37c53 Small permissions handling update.
Core GM support removed, depends on FakePermissions if you use GM.
Fixed Permissions, will work with GroupManager, Permissions 2.0, or Permissions 2.1
Left-clicking to activate a stargate works again
2011-03-04 21:03:56 -08:00
Drakia
3c914dec9b Built against b424jnks -- As such nothing lower is supported at the moment.
Moved gate destruction code to onBlockBreak since onBlockDamage no longer handles breaking blocks.
Removed long constructor.
2011-02-23 00:01:23 -08:00
Drakia
94d5a3b0a3 Fixed infinite loop in fixed gates.
Fixed gate destination will not open when dialed into.
2011-02-18 22:24:46 -08:00
Drakia
0d6d680fcc Fixed gates no longer show in destination list.
Started adding stuff for later loading of gates (Will be used for multi world)
2011-02-18 13:53:00 -08:00
Drakia
758b15ae69 Implemented fixed destination block using * in .gate file. This is the recommended method of doing an exit point for custom gates, as the automatic method doesn't work in a lot of cases.
Split networks up in memory, can now use same name in different networks. As a result, fixed gates must now specify a network.
Added the ability to have a private gate, which only you can activate. Use the 'P' option to create.
Fixed but not AlwaysOn gates now open the destination gate.
Fixed gates now show their network. Existing fixed gates are added to the default network (Sorry! It had to be done)
2011-02-17 02:44:47 -08:00
Drakia
1600139c4b Fuuuu- Some code got undid and broke everything. Fixed. 2011-02-14 22:02:22 -08:00
Drakia
d37adb90ee Hopefully fixed the "No position found" bug.
If dest > origin, any blocks past origin.size will drop you at dest[0]
Switched to scheduler instead of our own thread for closing gates and deactivating signs
No longer depend on Permissions, use it as an option. isOp() used as defaults.
2011-02-14 21:51:55 -08:00
Drakia
b3044c6f03 Gates can now be any shape 2011-02-13 12:06:20 -08:00
Drakia
916b6df55d Gates can now consist of any material.
You can left or right click the button to open a gate
Gates are now initialized on sign placement, not more right clicking!
2011-02-13 00:04:49 -08:00
Drakia
13dbf6e8f1 Fixed where the default gate is saved to. 2011-02-12 20:30:52 -08:00
Drakia
fe1c136e63 Update README/plugin.yml with new version number 2011-02-12 01:55:13 -08:00
Drakia
9cbc7b0664 Forgot to load gates from new location 2011-02-12 01:53:52 -08:00
Drakia
9e18c663bf Moved Stargate files into the plugins/Stargate/ folder
Added migration code so old gates/portals are ported to new folder structure
Create default config.yml if it doesn't exist
Fixed removing a gate, it is now completely removed
2011-02-11 23:05:45 -08:00
Drakia
f31a62e039 Damned git GUI 2011-02-09 00:47:23 -08:00
Drakia
5312a6fe91 Changed package to net.TheDgtl.*
Everything now uses a Blox object instead of Block. This is because when chunks are reloaded the block references change.
Started on vehicle code, it's still very buggy.
2011-02-09 00:45:58 -08:00
Drakia
eb407537f2 Initial commit 2011-02-06 03:36:48 -08:00