Commit graph

1223 commits

Author SHA1 Message Date
Jack Lin
f48dab99e5 Update containsPlayer() in CoreAbility 2015-08-03 09:44:48 +12:00
Jack Lin
2b98266c0a Rename all packages to lowercase
Rename all packages to lowercase
2015-08-02 22:05:46 +12:00
Jack Lin
37d99b03ba Format every class, Sort imports, Move classes to correct package 2015-08-02 18:24:19 +12:00
Jack Lin
439a3edac9 Rename StockAbilities to StockAbility, Document CoreAbiltiy 2015-08-02 12:18:57 +12:00
Jack Lin
f08a42b43a Attempt to fix new system 2015-08-01 09:24:31 +12:00
Jack Lin
608b3ccc36 New system 2015-07-31 12:19:09 +12:00
Jack Lin
0d40135427 Update Air Abilities to reflect changes 2015-07-16 21:39:11 +12:00
Jack Lin
268319b862 Add InstanceType to Ability, Update BaseAbility
* MULTIPLE = A move that has several instances under one player
* SINGLE = A move that can only have one instance under one player
* By default all moves are SINGLE
* To make a move MULTIPLE have the ability override the
getInstanceType() and make it return InstanceType.MULITPLE
2015-07-16 21:38:47 +12:00
Jack Lin
84f9448745 Update everything with new Config changes 2015-07-16 20:17:20 +12:00
Jack Lin
bf8c4fa3a8 Add 2 different getBendingPlayer() to GeneralMethods 2015-07-16 20:16:30 +12:00
Jack Lin
ca84318f5a Update Config, ConfigLoadable, ConfigManager 2015-07-16 19:20:19 +12:00
Jack Lin
2bd1d312b8 Update BendingPlayer and related references
* Update modifiers to BendingPlayer variables
* Add getters and setters for variables
* Update references to these variables
* Fully documented the class
2015-07-15 20:10:51 +12:00
Jack Lin
8c4f76bbe9 Update all Air Abilities to reflect changes 2015-07-15 17:43:20 +12:00
Jack Lin
50cbaade71 Update BaseAbility
* Add 3 new fields:
* UniqueId
* Player
* StockAbility
* Add Final modifier to putInstance(), removeInstance()
getInstance(StockAbilities)
* Add private modifier to removeInstance()
* Implement remove() calling removeInstance()
* Created Convenience method getInstance() to be called from abilities
themselves
* Add abstract method getStockAbility()
* Add getters for Player. UniqueId
2015-07-15 17:42:34 +12:00
Jack Lin
3a7242e2d2 Update Suffocates reloadVariables() 2015-07-15 14:48:46 +12:00
Jack Lin
d91cafec9c Fix AirCombo variable names 2015-07-15 14:39:29 +12:00
Jack Lin
8c8b9149b6 Make BendingManager implement ConfigLoadable
* BendingManager now implements ConfigLoadable
* Unused plugin reference is removed
* Add BendingManager instance variable and getter
* Change config messages to not be final and made them reloadable with
reloadVariables() from ConfigLoadable
2015-07-15 14:28:53 +12:00
Jack Lin
187bf0ec98 Convert Suffocate to new system 2015-07-15 14:25:50 +12:00
Jack Lin
1d907fe134 Update Air Abilities to reflect change 2015-07-15 14:25:32 +12:00
Jack Lin
293c830cbd Change progress() to return boolean 2015-07-15 14:24:16 +12:00
Jack Lin
63f654907f Make changes to Air Abilities 2015-07-14 15:37:08 +12:00
Jack Lin
425bc5a106 Rename Ability to BaseAbility, Create interface Ability 2015-07-14 15:36:25 +12:00
Jack Lin
a3e7ece301 Update AirAbilities to support new change 2015-07-14 14:26:12 +12:00
Jack Lin
5b08890366 Add Ability, ConfigLoadable 2015-07-14 14:25:02 +12:00
Jack Lin
70ce9b8abb Format StockAbilities, Update getAbility() 2015-07-14 12:04:17 +12:00
Jack Lin
f02bf0489b Remove unneeded static variables in AirCombo 2015-07-13 21:15:06 +12:00
Jack Lin
239005a1c3 Format AbilityModule 2015-07-13 17:07:12 +12:00
OmniCypher
7f0e363400 Beta 12 2015-07-11 18:35:57 -07:00
OmniCypher
a323f67f16 Merge pull request #168 from Loonytoon1997/master
Balance Patch // Event Messages Configurable // Day & Night Messages
2015-07-11 11:01:58 -07:00
Jack Lin
6bb2ca4844 Update reloadPlugin() in GeneralMethods 2015-07-12 01:25:06 +12:00
Jack Lin
3805b2342b Move stopPlugin() to GeneralMethods 2015-07-12 01:23:56 +12:00
Jack Lin
7a1537a12e Fix config error due to e324bb 2015-07-12 00:23:11 +12:00
Jack Lin
086128f8fa Fix spacing in Updater 2015-07-12 00:16:50 +12:00
Jack Lin
4e4c4eff98 Fix problem where all configs were empty
* Configs were generated correctly but were overridden by empty ones
2015-07-11 23:48:46 +12:00
BuildTools
e3245bb849 Balance Patch // Event Messages Configurable // Day & Night Messages Configurable
- Changed defaults to be balanced.
- Added configurable event messages.
- Added configurable day & night messages.
2015-07-11 11:56:51 +01:00
OmniCypher
b8e15efa0a Fixed up Configs & Fixed Combo bugs 2015-07-11 02:07:50 -07:00
OmniCypher
6629c122d4 Bottlebending & Sandstone
Fixes various bugs with bottlebending
Colored Sandstone/Sand are compatible with earthbending
Fixed Cooldown in Earthsmash
Fixed Desc in PhaseChange
Fixed Dark Green in /b who
2015-07-09 11:05:48 -07:00
OmniCypher
3d769371c6 Merge pull request #162 from jacklin213/bugfix
Fix ErrorLogger, WaterWave, AirCombo
2015-07-08 15:42:08 -07:00
AlexTheCoder
a99fbe8bc0 The Armor Update
PlantArmor/Related:
- Add PlantArmor move
- Add playPlantbendingSound(Location loc) in WaterMethods
- Add isPlantbendable(Block block) in WaterMethods
- Add getPlantSourceBlock() in WaterMethods
EarthArmor:
- Fix incorrect cooldown configuration
- Properly add cooldown
- Fix EarthArmor + FastSwim bug
2015-07-08 08:16:06 -04:00
Jack Lin
b16a7cbb5e Fix distance location bug in AirCombo 2015-07-02 22:42:12 +12:00
Jack Lin
4e604128db Fix NPE in WaterWave 2015-07-02 22:40:22 +12:00
Jack Lin
8e6892149d Fix errorlog folder, LogFilter 2015-07-02 22:34:51 +12:00
OmniCypher
8bfd35914e 1.7.0 Beta 11 2015-06-29 18:27:53 -07:00
OmniCypher
20e64b9cbc Merge pull request #158 from jedk1/master
AirBlast functionality.
2015-06-29 18:08:49 -07:00
OmniCypher
3aca322c21 Merge pull request #150 from jacklin213/bugfix
[BUGFIX] NPE's in Flight, WaterMethods, Distance bug in FireCombo. Update Error log v2.1.0
2015-06-29 17:59:21 -07:00
OmniCypher
80c6b63206 Bug Fixes
Fixed AS NPE
Fixed WaterWave & Immobilize cooldowns
Fixed Fire Tick Config option
2015-06-29 17:51:56 -07:00
jedk1
3fdc9246e2 Updated lever and button code. 2015-06-29 20:03:56 +01:00
jedk1
168a47b503 Added back functionallity for levers and buttons, also added more wood
types.
2015-06-29 18:52:27 +01:00
Jack Lin
42c750862f Fix NPE in OctopusForm 2015-06-30 01:39:04 +12:00
Jack Lin
89ee1470e8 Attempt to fix distance error in BlockSource 2015-06-30 01:33:33 +12:00
Jack Lin
fc1f14a03f Fix NPE in IceBlast 2015-06-30 01:15:07 +12:00
Jack Lin
70fbdb2179 Update Error Logger to v2.1.0
* Remove ErrorLogFilter
* Changed Filter in PKLogHandler to LogFilter
* Removed parent logger filter
* Add a Logs folder
* Limit log size to 500kb, maximum files: 20
* Update LogFilter with proper code
* Now does not log duplicate stack traces
2015-06-30 01:03:47 +12:00
Jack Lin
57942c6f89 Fix NPE in WaterMethods 2015-06-30 01:03:41 +12:00
Jack Lin
58d963fe64 Fix NPE in ErrorLogFilter, Update Error Logger to v2.0.2 2015-06-30 01:03:34 +12:00
Jack Lin
f9f8d851e3 Override equals(). Fix NPE in Flight 2015-06-30 01:03:28 +12:00
Jack Lin
e452e70906 Fix distance bug FireCombo 2015-06-30 01:03:22 +12:00
OmniCypher
f366764cdb Merge pull request #156 from OmniCypher-/master
Bug Fixes: Healing waters, /b d combustion, AS bloodbending
2015-06-28 15:25:37 -07:00
OmniCypher
ee3a6fdf08 May have fixed AS Blood Bending bug 2015-06-28 15:22:16 -07:00
OmniCypher
bf59be3d78 Fixed Healing waters & /b d Combustion issue 2015-06-28 15:16:06 -07:00
FinnBueno
3383b6d41c Cooldowns
Cooldown on waterspout wave and on the chi combo immobilize.
WaterSpout 2 seconds. (default)
Immobilize 20 seconds. (default)
2015-06-28 23:18:32 +02:00
jedk1
22741d55ed Reapplied previous commit. 2015-06-27 15:00:34 +01:00
jedk1
b368b8244e Revert "Extended the particle display range."
This reverts commit 2e7ba02956.

undid commit.
2015-06-27 14:49:09 +01:00
jedk1
2e7ba02956 Extended the particle display range. 2015-06-27 12:01:13 +01:00
jedk1
8a191fe313 Added getPresetContents(Player player, String name) method, which
returns the contents of a preset. Useful for side plugins.
2015-06-26 16:53:17 +01:00
OmniCypher
c149b8d232 Merge pull request #149 from OmniCypher-/master
Added new peeps to /b who
2015-06-20 15:00:24 -07:00
jedk1
bf1d2beea5 Removed debug messages. 2015-06-20 16:10:20 +01:00
jedk1
c1cdbdf876 Fixed death messages bugging out properly. Hopefully fixed an error with
error log filter that was crashing server.
2015-06-20 16:05:44 +01:00
OmniCypher
b4f20fa0f1 Added new peeps to /b who 2015-06-20 00:16:38 -07:00
jedk1
38fb49d651 Merge remote-tracking branch 'upstream/master' 2015-06-19 15:59:38 +01:00
jedk1
9e374e7aa2 WaterArms Punch message. 2015-06-19 15:45:33 +01:00
OmniCypher
c5e5267c93 Merge pull request #148 from jacklin213/bugfix
Fix NPE in Flight revert() from 2e33659
2015-06-18 17:30:26 -07:00
Jack Lin
34c5f3d290 Actually Fix NPE in Flight revert() from 2e33659 2015-06-19 11:38:52 +12:00
jedk1
4cfd3872de Fixed death null pointer exception bug. 2015-06-18 01:26:22 +01:00
FinnBueno
acbb4e26e1 FireTicks and cleaning
Added a fire tick option for the following abilities:
• FireBlast(Both charged and normal)
• FireWheel and JetBlaze
• FireShield
• WallOfFire
Each ability has it’s own config option for the ticks. The burn time is
in seconds!

Also removed unused imports and removed warnings!
2015-06-17 21:23:59 +02:00
OmniCypher
eb2794b606 Merge pull request #145 from jacklin213/bugfix
Fix NPE in PKListener, onPlayerDeath when killer was null + Fixed missing Twister Permission node
2015-06-16 15:54:57 -07:00
OmniCypher
07853a06a5 Merge pull request #144 from FinnBueno/master
SandSpout Swirl + EarthMethods Sand Particle Change
2015-06-16 15:54:12 -07:00
Jack Lin
bfd313b148 Actually fix AirSwipe distance bug 2015-06-17 02:17:06 +12:00
Jack Lin
ac09940017 Fix permission node error for AirCombo 2015-06-15 14:52:18 +12:00
Jack Lin
2a1957d57d Fix NPE in PKListener, onPlayerDeath when killer was null 2015-06-15 13:07:11 +12:00
FinnBueno
f21b8df90b Sand Passive
When a sand bender stands/runs/walks/does anything on sand, he will get
a speed boost. The power amplifier can be changed in the config file.
2015-06-11 22:06:53 +02:00
FinnBueno
e974f7845a SandSpout + EarthMethods
Added a spiral to SandSpout with a config to toggle it off, and added a
boolean for red sand in .displaySandParticle();
2015-06-11 20:36:25 +02:00
jedk1
5d770d0bbd Fixed MultiAbilities having their colors reset. 2015-06-11 15:09:18 +01:00
jedk1
9a9a0ffbf0 Added event for when the plugin is reloaded via /pk reload. 2015-06-11 14:20:28 +01:00
Jack Lin
f7f9767d2f Format all classes in main package com.projectkorra.ProjectKorra 2015-06-11 02:00:28 +12:00
MistPhizzle
b33ca4a5e5 Claims can be bent in during GriefPrevention Siege 2015-06-10 04:54:14 -04:00
Jack Lin
f5fff104ed Update Error Logger version to 2.0.1 2015-06-10 20:51:20 +12:00
Jack Lin
459a3fb0a1 Update formatter with month and date 2015-06-10 20:51:14 +12:00
Jack Lin
15234e4630 Update ErrorLogFilter to only log PK related stuff 2015-06-10 20:51:08 +12:00
Jack Lin
39cc640f4a Update PKLogHandler to append files 2015-06-10 20:51:02 +12:00
Jack Lin
e5de032eb2 Add Javadocs to PKLogHandler and related classes 2015-06-10 20:50:55 +12:00
Jack Lin
273a1d823e Made class names more logical from 3b2b0e4 2015-06-10 20:50:35 +12:00
Jack Lin
56578a7f3a Update relative classes due to 5d7abb4 2015-06-10 20:50:08 +12:00
Jack Lin
5d7abb4a7b Remove logError method introduced in 7891e84 2015-06-10 20:50:01 +12:00
Jack Lin
3b2b0e403a Add PKLogHandler, PKFilter, PKErrorFilter, PKFormatter 2015-06-10 20:49:54 +12:00
MistPhizzle
354796e997 1.7.0 BETA 10 2015-06-10 04:29:40 -04:00
MistPhizzle
0b1412d5c5 Merge pull request #141 from jacklin213/master
Fix spelling of available in Updater
2015-06-10 04:26:04 -04:00
MistPhizzle
e88f56d5c2 Merge pull request #140 from jedk1/deathmsgs
Death Message Fixes
2015-06-10 04:25:52 -04:00
MistPhizzle
42f2d706ef Merge pull request #139 from jedk1/master
Bug Fixes
2015-06-10 04:25:17 -04:00
Jack Lin
d63a76f401 Fix sqlite error for presets 2015-06-10 15:24:11 +12:00
Jack Lin
8c63fb184b Add missing null check in Commands for /b display 2015-06-10 14:39:04 +12:00
Jack Lin
e7516cc414 Add leaves2 to illumination check 2015-06-10 14:13:07 +12:00
Jack Lin
8ceb8a66d4 Use uuid instead of playername in saveAbility() 2015-06-10 14:13:01 +12:00
Jack Lin
f9fe6ed7b3 Emphasized messages in Commands 2015-06-10 14:12:39 +12:00
Jack Lin
b8471051d1 Fix spelling of available in Updater 2015-06-10 10:29:56 +12:00
Jack Lin
0be20d29b3 Add missing ' in Preset.java 2015-06-10 02:06:43 +12:00
jedk1
589117a3ad Added DeathMessage reloading. 2015-06-08 20:45:20 +01:00
jedk1
0cd6f7cc64 Removed dead bushes as being water bendable. 2015-06-08 20:05:14 +01:00
jedk1
03e472a182 Did some formatting tidy ups. 2015-06-08 20:00:28 +01:00
jedk1
b5c4da89c8 Fixed waterarms glitching and getting "stuck" 2015-06-08 18:23:50 +01:00
jedk1
3d85727a9a Fixed watermanip source not regening after use. 2015-06-08 01:19:57 +01:00
jedk1
9346bf02b7 Fixed NullPointer errors and Fixed combo messages. 2015-06-08 00:32:19 +01:00
Jack Lin
f06de36121 Attemp to fix sql problem in Presets 2015-06-08 11:07:44 +12:00
jedk1
acb5a40b30 Attempted to fix wrong death messages being displayed. 2015-06-07 18:29:53 +01:00
Jack Lin
cc3049771d Change all world compare from == to .equals 2015-06-07 15:52:36 +12:00
Jack Lin
2745c8b4c4 AirSwipe compare distance fix 2015-06-07 15:26:07 +12:00
jedk1
c9fe1c5294 Fixed bottlebending not working! 2015-06-07 04:16:55 +01:00
MistPhizzle
0207bb97b0 1.7.0 BETA 9 2015-06-06 22:24:09 -04:00
MistPhizzle
206c7c54bd Merge pull request #137 from jedk1/master
Fixed WaterArms flooding and WaterManipulation bugs.
2015-06-06 22:23:01 -04:00
OmniCypher
05e7780c5e Re-added Sandspout and IceBlast fixes
New sandbending move: SandSpout
Requires the user to have the sandbending subelement.
SandSpoutis slower and lower then AirSpout and WaterSpout by default.
Requires the player to be above sand/sandstone to use (like how
waterspout relies on a water source)
Any players caught in the spout will be dealt small amounts of damage
over time and will be blinded from standing in the whirlwind of sand.
Config options:
Height - Max height the spout can achieve.
BlindnessTime - How long a player will be blinded for standing in a
spout. (in seconds)
Spout Damage - How much damage the spout does over time for standing in
it.

Slight Iceblast rework
Added default cooldown of 1.5 seconds.
Iceblast is now much less laggy and looks/acts nicer.
Added an on collision sound and effect.
2015-06-06 19:19:13 -07:00
MistPhizzle
46832a952b Merge pull request #135 from nathank33/master
Earth Dynamic Sourcing Improvements
2015-06-06 21:02:50 -04:00
jedk1
7ca8e2d10f Reduced the amount of buggy water blocks created by watermanipulation. 2015-06-07 01:33:00 +01:00
jedk1
756c5f33a8 Fixed WaterArms Flooding 2015-06-07 01:31:44 +01:00
jedk1
cd62f2a4c9 Added messages for most abilities. 2015-06-06 20:10:58 +01:00
jedk1
0d14a4264c Added config based messages. 2015-06-06 20:10:43 +01:00
jedk1
7976a2e454 Added method to get element of ability. 2015-06-06 20:08:47 +01:00
nathank33
e514ba486b Fixed BlockSource distance error 2015-06-06 10:09:45 -07:00
nathank33
c446f320f5 Improved Earth Dynamic Sourcing 2015-06-05 23:31:02 -07:00
nathank33
c56bd64be4 Added Earth Utility Methods 2015-06-05 23:30:42 -07:00
nathank33
f942d7dcc3 EarthSmash no longer uses dynamic sourcing 2015-06-05 23:30:29 -07:00
jedk1
107823711e Removed example config messages. 2015-06-06 01:10:08 +01:00
Jack Lin
318ca12cab Update ConfigManager and related classes 2015-06-06 12:01:05 +12:00
Jack Lin
18d3944192 Add ConfigType 2015-06-06 11:57:09 +12:00
jedk1
3110b8290e Added config manager to support additional config. 2015-06-06 11:39:17 +12:00
jedk1
b3731752eb Added death messages config manager. 2015-06-06 11:39:12 +12:00
jedk1
e99a9b65fe Added PlayerBendingDeathEvent. 2015-06-06 11:39:07 +12:00
jedk1
a6aa53b7a3 Added Death Message Config. 2015-06-06 11:38:56 +12:00
jedk1
5fd7ce6709 Added basic death message support. 2015-06-06 11:34:50 +12:00
jedk1
5c88a17b8a Changed damageEntity to support a string for ability name.
Added method to get last used ability/combo.
2015-06-06 11:34:44 +12:00
MistPhizzle
9954ab2c17 1.7.0 BETA 8 2015-06-04 19:48:14 -04:00
MistPhizzle
901283c31e Merge pull request #131 from jedk1/master
Added WaterArms Nerfs
2015-06-04 19:43:50 -04:00
jedk1
88498155f9 Added WaterArms Pull Multiplier Config. 2015-06-05 00:35:57 +01:00
jedk1
cff68f45c3 Revert "Added multiplier config."
This reverts commit 7bbb2fe741.
2015-06-05 00:35:13 +01:00
jedk1
7bbb2fe741 Added multiplier config. 2015-06-05 00:34:41 +01:00
jedk1
a9578d94a0 Added WaterArms Nerfs. 2015-06-05 00:30:11 +01:00
MistPhizzle
4b462ae020 Merge pull request #127 from jacklin213/master
Add Updater and /pk check command
2015-06-04 19:15:54 -04:00
MistPhizzle
1873c69419 Merge pull request #129 from jacklin213/bugfix
[BUGFIX] Fix world error in BlockSource
2015-06-04 19:13:30 -04:00
jedk1
e70b85e36b Merge remote-tracking branch 'upstream/master' 2015-06-04 23:26:18 +01:00
jedk1
6cb48bf16d Added fancy WaterSpout spiral animation. 2015-06-04 23:23:45 +01:00
Jack Lin
c0b358b248 Fix world error in BlockSource 2015-06-02 18:18:13 +12:00
Jack Lin
f0c0b829c5 Add /pk check command and permissions 2015-06-01 23:57:05 +12:00
Jack Lin
11208d6649 Add Updater 2015-06-01 23:56:05 +12:00
MistPhizzle
09cf032885 1.7.0 BETA 7 2015-05-31 22:24:15 -04:00
jedk1
689bcf7d32 Fixed MultiAbilities not working if player wasn't op. 2015-06-01 03:02:23 +01:00
jedk1
3a2b435894 Fixed logout console spam. 2015-06-01 03:01:22 +01:00
MistPhizzle
41452edc0d 1.7.0 BETA 6 2015-05-31 20:49:23 -04:00
MistPhizzle
ad4fcb4dba Fix 2015-05-31 20:43:11 -04:00
MistPhizzle
919599cace Merge pull request #123 from nathank33/master
Fixed WaterBottles after dynamic sourcing broke them
2015-05-31 20:43:01 -04:00
MistPhizzle
7862535a0b MERGE 2015-05-31 20:39:32 -04:00
jedk1
22e5158aa7 Added WaterArms config options. 2015-05-31 21:26:49 +01:00
jedk1
27f505c4d2 Corrected spelling in WaterArms description. 2015-05-31 21:26:32 +01:00
jedk1
3143334c79 Added WaterArms Spear attack. 2015-05-31 21:23:47 +01:00
jedk1
633aca108e Added WaterArms Freeze attack. 2015-05-31 21:23:35 +01:00
jedk1
5a10da3f1f Added permissions for WaterArms. 2015-05-31 21:23:21 +01:00
jedk1
ee79f70142 Finished recode and added getters and setters. Also added Grab attack. 2015-05-31 21:23:06 +01:00
jedk1
50e83f6e35 Completed Recode and added getters and setters. 2015-05-31 21:22:12 +01:00
jedk1
706ee1cd8c Added method for a chi blocker to highjump out of WaterArms grab mode. 2015-05-31 21:21:50 +01:00
jedk1
72321963be Added WaterArms sneak event to display a little note of what ability is
bound.
2015-05-31 21:20:49 +01:00
jedk1
7a4af1ef01 Added more WaterArms config options. 2015-05-31 21:20:05 +01:00
jedk1
3d01e27965 Added support for MultiAbilityManager. Makes sure that abilities can't
be bound while a MultiAbility is active.
2015-05-31 21:19:23 +01:00
nathank33
868607ed9a Fixed WaterBottles after Dynamic Sourcing broke them 2015-05-31 11:26:28 -07:00
jedk1
09575f8e9b Started Recode on WaterArms. 2015-05-31 15:19:50 +01:00
jedk1
d5c6e10feb Added WaterArms managing and stopping. 2015-05-31 15:19:32 +01:00
jedk1
6aa5947481 Added WaterArms falling block check to entitychangeblockevent. 2015-05-31 15:18:58 +01:00
jedk1
9bbd231eef Added getLeftSide and getRightSide methods to get the respective side of
a location no matter the direction it's facing.
2015-05-31 15:18:30 +01:00
jedk1
25e7eb8b39 Changed config options for WaterArms. 2015-05-31 15:17:29 +01:00
jedk1
742df175db Added WaterArms as a stock ability. 2015-05-31 15:16:58 +01:00
jedk1
66374480cf Updated/Fixed MultiAbilityAPI. 2015-05-31 15:16:36 +01:00
MistPhizzle
b41a04fd12 1.7.0 BETA 5 2015-05-30 23:37:44 -04:00
MistPhizzle
51875fb282 Blank 2015-05-30 23:36:38 -04:00
Jack Lin
cac48fd4f3 Fix bending not working due to b20c543 2015-05-31 15:34:39 +12:00
MistPhizzle
e84bf58094 1.7.0 BETA 4 2015-05-30 21:18:48 -04:00
MistPhizzle
51448beea5 Fix ClickType
oops
2015-05-30 21:17:59 -04:00
MistPhizzle
9d83375d4d Fix Conflicts 2015-05-30 21:12:06 -04:00
MistPhizzle
1129528312 Stupid Commit 2015-05-30 20:59:47 -04:00
MistPhizzle
f6f394f4c7 Players with Chi and Air will get Air boost
Fixes bug where they would get alternating speed / jump boosts
2015-05-30 20:59:46 -04:00
MistPhizzle
4f114dbe94 /bending display Bloodbending
Fixed the message that tried to get players to use nonexistant commands
2015-05-30 20:59:45 -04:00
MistPhizzle
c5e493e2b0 Add icebending to /b display 2015-05-30 20:59:44 -04:00
Jack Lin
b20c543136 Update Listener to use errorLog method 2015-05-31 12:58:03 +12:00
MistPhizzle
808915644a Merge pull request #119 from nathank33/master
Dynamic Source Selection
2015-05-30 20:26:24 -04:00
nathank33
f6b8c136ba Earth now uses dynamic source selection 2015-05-30 13:56:03 -07:00
nathank33
fca483239f Water now uses dynamic source selection 2015-05-30 13:54:54 -07:00
nathank33
c313ce8eed Renamed ClickTypes 2015-05-30 13:53:52 -07:00
nathank33
c36bd23205 Added Dynamic Source Selection 2015-05-30 13:53:31 -07:00
jedk1
45b7ee8b7a Added WaterArms to the stock abilities list 2015-05-30 14:49:23 +01:00
jedk1
f1608728d4 Added config options for WaterArms, these might need nerfing. 2015-05-30 14:48:29 +01:00
jedk1
30724904bc Added classes for MultiAbilityModules. Allows for creation of
multiabilities.
2015-05-30 03:10:19 +01:00
jedk1
3cbd93712b Added MultiAbilityManager - Manager for most methods and managers for
multiabilities.
2015-05-30 03:08:56 +01:00
jedk1
1719628d33 Added the managers for the MultiAbility 2015-05-30 03:08:11 +01:00
jedk1
bb6c333323 Added to player quit event to clean up any multi abilities the player
had active.
2015-05-30 03:07:52 +01:00
jedk1
4842970973 Added checks in bindAbility and saveAbilities to stop the method if the
player has a MultiAbility bound.
2015-05-30 03:06:44 +01:00
Jack Lin
4d3ce669ea Update related classes to use errorLog method 2015-05-27 14:57:47 +12:00
Jack Lin
468232f812 Add exception handler into Ability Managers 2015-05-27 14:57:27 +12:00
Jack Lin
85153cf895 Update error message for errorLog method 2015-05-27 14:28:47 +12:00
Jack Lin
7891e84adb Add errorLog method to log throwables/exceptions
* Add methods errorLog(Throwable) and errorLog(Throwable, Boolean) to
GeneralMethods.java
* Add documentation to both methods describing how to use them
2015-05-27 14:23:40 +12:00
MistPhizzle
cb13a38873 1.7.0 BETA 3 2015-05-25 16:22:06 -04:00
MistPhizzle
029262bb49 /bending reload now reloads Modular Abilities
Finnbon suggestion
2015-05-25 16:18:46 -04:00
MistPhizzle
e07363aabd AirBlast now opens wooden doors 2015-05-25 16:18:45 -04:00
MistPhizzle
dbd64385dd Expand Permissions
You can now require specific permissions for elements. i.e.
bending.command.choose.fire and bending.command.add.fire (Currently only
added to choose and add)

Please note: They wont be able to choose fire without the permission
node bending.command.choose and bending.command.add respectively. All
new permissions default true, but again, they will not be able to add
elements without the basic command to do so in the first place.
2015-05-25 16:18:44 -04:00
MistPhizzle
dee68b9671 PlayerChangeElementEvent
Called whenever a player's element is changed, whether it be through
Add, Remove, Choose, Permaremove.

Requests CommandSender (whoever initiates it), the Player target, the
Element, and the Result.

If remove or peraremove, element will return null.
2015-05-25 16:18:43 -04:00
MistPhizzle
bf0971bffb Admins can choose bending if permaremoved
Admins can choose a player's bending if it has been permaremoved. The
point of permaremove is so that the player can't rechoose, not the
admin.
2015-05-25 16:18:42 -04:00
MistPhizzle
51159400af /bending display [Element] Changes
- Fixed bug where you can't view abilities for other elements. (Now
checks if you just have permission, not if you can actually bind them)

- Removed sub abilities from general display. They now have their own
command (/bending display Lightning, etc, etc)
2015-05-25 16:18:42 -04:00
nathank33
dcd809b6af Moved ClickType to its own file 2015-05-25 10:18:46 -07:00
nathank33
2af027dddb Combos have individual permissions 2015-05-24 21:53:18 -07:00
nathank33
d20ab0e6e5 Formatted ComboManager 2015-05-24 19:26:42 -07:00
MistPhizzle
4b392d2a01 1.7.0 BETA 2 2015-05-22 16:20:09 -04:00
MistPhizzle
a45ffb6753 Asynchronous Database Interaction
Should increase performance.

Huge thanks to Sothatsit --- Had to merge it manually
2015-05-19 12:20:45 -04:00
AlexTheCoder
b2bdd1b6fa HUMONGOUS API CLEANUP
- Created individual method classes for each element
- Moved appropriate methods from main Methods class into element Method
classes
- Created many javadocs
- Removed a deprecated method
- Changed Methods to GeneralMethods
2015-05-15 00:24:12 -04:00
MistPhizzle
18dcedff83 1.7.0 BETA 1 2015-05-13 10:06:11 -04:00
MistPhizzle
0940091f56 Merge pull request #112 from Alex-The-Coder/Lightning-API-Improvements
Allowed external developers access to arcs
2015-05-13 10:01:40 -04:00
MistPhizzle
79315d5f3a Merge pull request #111 from Alex-The-Coder/Lightning-Aesthetics
Lightning Aesthetic Enhancement
2015-05-13 10:01:34 -04:00
Jack Lin
2ccef0aecb Add saved toggling per server session 2015-04-21 13:00:58 +12:00
MistPhizzle
625d7014c1 1.6.0 2015-04-19 18:27:10 -04:00
MistPhizzle
72ca8e3fd9 1.6.0 BETA 20 2015-04-19 18:08:38 -04:00
MistPhizzle
bb617c90c8 Fix /bending who not showing staff 2015-04-19 18:07:04 -04:00
AlexTheCoder
a1e30b81b6 Lightning Aesthetic Enhancement
- Added kewl lightning charge up animation
- Small code cleanup in Commands.java
2015-04-17 22:47:08 -04:00
AlexTheCoder
470ef8d891 Allowed external developers access to arcs
Gave external developers a way to get the arcs from lightning
2015-04-17 22:05:43 -04:00
MistPhizzle
61fc509d7d 1.6.0 BETA 19 2015-04-12 20:15:16 -04:00
MistPhizzle
ad81b29399 /korra debug now displays Items 2015-04-12 20:13:10 -04:00
MistPhizzle
3370a67ffc PreciousStones Changes
Players can now bend in their own claims or claims they are allowed in
2015-04-12 20:13:09 -04:00
MistPhizzle
cc00f515a0 Remove old staff from plugin 2015-04-12 20:13:08 -04:00
MistPhizzle
f3ff5fa536 /bending version displays info on PK Items 2015-04-12 20:13:08 -04:00
MistPhizzle
dbb1acc278 Add Coolade and Shunky 2015-04-12 20:13:07 -04:00
MistPhizzle
7f569d67bb Add Kiam's UUID 2015-04-12 20:13:06 -04:00
MistPhizzle
c0f3f5b470 /bending who uses UUIDs for Staff
- vidcom now displays as Concept Designer / Community Moderator
- Kiam should be a Concept Designer
- Hit_Manx now displayed as Wiki Contributor
2015-04-12 20:13:05 -04:00
MistPhizzle
100451d4f6 Merge pull request #110 from jacklin213/bugfix
BugFixes
2015-04-12 20:12:54 -04:00
Jack Lin
d3cfaf327a Fix NPE in FlightAbility
Caused by lines 30-33 calling remove(player) which calls flight.remove()
when flight == null
2015-04-11 12:00:28 +12:00
Jack Lin
e471809049 Fix deprecation from 9f969f1, small clean up 2015-04-10 12:55:23 +12:00
Jack Lin
9f969f19f2 Finish Update for getTargetBlock 2015-04-06 15:14:50 +12:00
Jack Lin
454c1bcdc0 Update to 1.8.3 method for getTargetBlock 2015-04-06 15:10:21 +12:00
MistPhizzle
931891c463 1.6.0 BETA 18 2015-04-05 20:36:07 -04:00
MistPhizzle
9f58aeda01 Merge Pull Request #102 from Carbogen 2015-04-05 20:14:01 -04:00
MistPhizzle
30aa3a8606 Merge pull request #100 from HeyAwesomePeople/patch-1
Updated Commands.java
2015-04-05 20:07:31 -04:00
MistPhizzle
068d8dfa3d Merge pull request #103 from jacklin213/bugfix
Bugfixs
2015-04-05 20:05:04 -04:00
OmniCypher
71e2171056 Fixes and Additions
Fixes:
Recalibrated Colored Particles to 1.8.3 (fixing lightning)
Moved OmniCypher to Dev list (finally)
Additions:
playLightningParticles():
Callable method in Methods class for dev's to easily display Lightning
Particles.
displayColoredParticle():
Callable method in Methods class to easily create and display and passed
in hexadecimal RGB value. Handles multiple particle types.
displayParticleVector()
Callable method in Methods class to easily create and display particles
which will smoothly translate to relative coordinates over time. Handles
multiple particle types.
2015-03-26 22:01:47 -07:00
MistPhizzle
c3876a8f18 1.6.0 BETA 17 2015-03-15 11:33:09 -04:00
MistPhizzle
f303f28abf Merge pull request #106 from Alex-The-Coder/CooldownChangeEvent-Edits
Cooldown Modifications
2015-03-15 11:27:05 -04:00
AlexTheCoder
a8490f02e4 Avoiding potential bugs 2015-03-14 05:10:22 -04:00
AlexTheCoder
3ead8469cc Cooldown Modifications
AvatarState Cooldown Modifications:
- Converted the AvatarState to use the same BPlayer cooldown manager as
all the other abilities

CooldownChangeEvent Modifications:
- Make cooldown changes cancellable so as to increase API functionality
2015-03-14 04:13:27 -04:00
AlexTheCoder
853aec2b5b Spring Cleaning!
Cleaned up the Code:
- Removed all unused imports
- Added suppress warning annotations to all warnings
2015-03-14 02:10:25 -04:00
MistPhizzle
1446dcc1d4 1.6.0 BETA 16 2015-03-08 12:45:09 -04:00