Commit Graph

1058 Commits

Author SHA1 Message Date
ulumulu1510
1b03e64387 3h - Add more Characters to the Map-Chars. 2016-03-05 17:11:57 +01:00
Olof Larsson
259cf71e27 MassiveCore - Various Improvements 2016-03-04 14:10:54 +01:00
daviga404
33e1d7749b Check for zero money on faction disband
The takeOnDisband method of EngineEcon now checks if the amount of money
to be transferred to the player upon disbanding a faction is 0. If this is
the case, the method exits.

This will prevent unnecessary operations in transferring money to players
(which could be expensive if the economy is hooked to a database, for
example).
2016-03-02 21:37:01 +01:00
ulumulu1510
99bb301e0d 1h - Fix INdexOutOfBoundsException and use guidline formating for code. 2016-03-02 21:35:18 +01:00
Olof Larsson
f11a5e7dc2 MassiveCore - 1.9 pass 1 2016-03-01 19:28:53 +01:00
ulumulu1510
4dd71863c1 1h - Disallow peacefull to fight wilderness. 2016-02-28 17:41:17 +01:00
ulumulu1510
38a84c9416 1h - Fix Arrows bouncing off entities, remove the arrow after hit. 2016-02-28 17:35:43 +01:00
ulumulu1510
9a3b472e96 0.2h - Resolve PSS NullPointerException through MassiveExceptions. 2016-02-28 17:33:33 +01:00
ulumulu1510
1037a11149 0.1h- Finaly remove requirement. 2016-02-26 16:05:22 +01:00
ulumulu1510
1b69f04279 0.1h - Remove must have Faction requirement. 2016-02-26 15:46:50 +01:00
ulumulu1510
47d86bf28b 0.1h - Evade NPE on manual Factions removal in DB. 2016-02-26 15:29:58 +01:00
ulumulu1510
08024bd4f9 0.5h - TypeNullable does not work well with TypeContainer. 2016-02-26 15:18:32 +01:00
ulumulu1510
47332f96d5 5h- Rework relation commands. 2016-02-26 14:52:06 +01:00
Olof Larsson
1f5e591ce6 MassiveCore - MassivePlugin and Active 2016-02-25 22:28:09 +01:00
Olof Larsson
2bcd828e2b New Fake 2016-02-09 19:41:59 +01:00
BuildTools
e0f551286e Fix recently introduced kick bug 2016-02-06 12:45:18 +01:00
Olof Larsson
89dd975a6e MassiveCore - Comparators, Predicates and Map Editor 2016-02-03 05:06:49 +01:00
Olof Larsson
c8433a4770 Rename admin mode to override. Improve Rel names system. 2016-02-02 19:03:11 +01:00
BuildTools
45a8b7acd7 Only apply territoryShieldFactor when a player attacks 2016-01-25 15:37:22 +01:00
Olof Larsson
94006d8dc4 Java 7 final 2016-01-25 15:36:20 +01:00
BuildTools
bc02fe5949 Check player visibility in CmdFactionsList 2016-01-25 14:45:12 +01:00
ulumulu1510
2b7a505a7c Add FakeBlockPlaceEvent handling and adminMode override in PvP. 2016-01-25 14:25:38 +01:00
BuildTools
f77750fc91 Improve compatibility with some economy plugins (hopefully) #385 2016-01-25 14:23:53 +01:00
BuildTools
6bc16d25b1 Fix #932 2016-01-25 14:16:17 +01:00
BuildTools
95b530ec44 Better debugging in order to fix #1003 2016-01-25 14:14:37 +01:00
BuildTools
0937e12b21 Fix TypeRank 2016-01-25 14:13:29 +01:00
Olof Larsson
ace044764e Add show alias 2016-01-18 15:49:18 +01:00
BuildTools
4eb0225391 Moar aliases 2016-01-03 20:25:48 +01:00
BuildTools
eb69833410 Show relation colours in /f list 2015-12-21 23:13:52 +01:00
Pokechu22
d010cb8a4a Add an event for when a faction's perms change.
Closes #974.
2015-12-21 18:12:39 +01:00
BuildTools
d7a6ee4ff8 Block liquid flow 2015-12-15 22:15:43 +01:00
BuildTools
436618324b Explosions protect Armorstands 2015-12-15 22:13:46 +01:00
BuildTools
f11937efda Only on task server 2015-12-15 14:01:41 +01:00
BuildTools
3b5dae4d80 Remove join any perm 2015-12-15 13:34:40 +01:00
BuildTools
5985b83ee9 Register zombiegrief flag immideatly 2015-12-14 20:44:03 +01:00
BuildTools
f612ac34ab Add zombiegrief flag 2015-12-14 08:04:43 +01:00
BuildTools
0a1a58f693 Fix message bug when changing perms 2015-12-10 21:08:10 +01:00
Olof Larsson
159b89ee51 Simplify Database Constructors. Use Setters. 2015-12-01 11:23:47 +01:00
Olof Larsson
9212ccf6ce Changed 2015-11-30 20:18:16 +01:00
Olof Larsson
37e9994efe Change detection. 2015-11-30 10:44:15 +01:00
Olof Larsson
259bf27f3e MassiveCore - Change to database system. 2015-11-21 22:26:00 +01:00
Mark Hughes
5deb16dc74 Fix to Nether Portal traps. See #928 2015-11-10 05:15:13 +01:00
Olof Larsson
352db64850 MassiveCore Change 2015-11-08 19:07:13 +01:00
BuildTools
1c6f3f28d1 Call changed() more often 2015-11-08 18:01:10 +01:00
Olof Larsson
18f4dd3bf2 MassiveCore change 2015-11-08 17:26:36 +01:00
Olof Larsson
08708eaaab Some small performance optimizations. 2015-11-06 12:58:03 +01:00
Olof Larsson
482b75be70 MassiveCore - More type. More editor. 2015-11-06 02:10:29 +01:00
Olof Larsson
53db58f582 MassiveCore - Remove useless aliases 2015-10-21 21:18:00 +02:00
Olof Larsson
d72d8f4043 MassiveCore - Version Synchronized Warnings 2015-10-21 20:28:36 +02:00
Olof Larsson
753310561a MassiveCore - Heavy Refactoring and Command improvements 2015-10-21 19:35:41 +02:00
ulumulu1510
e7de3a902f Add visibility check in f status. 2015-10-12 11:53:41 +02:00
ulumulu1510
b2c7d0b7b7 Reduce online evaluation by 20 % in Faction#isExplosionAllowed() 2015-10-06 21:36:37 +02:00
Mark Hughes
8a4f99065d Fire bug fix 2015-09-21 07:45:40 +02:00
Olof Larsson
f5ecb69722 Visibility Stuff 2015-09-14 16:29:33 +02:00
Olof Larsson
e40a4c94c3 MassiveCore - Auto Help Command 2015-09-09 14:06:39 +02:00
ulumulu1510
13b7bd5581 Implement Mson UsageTemplate. 2015-09-09 12:11:33 +02:00
Olof Larsson
fe68d57b23 Fix bug. Nothing spawning. 2015-09-09 08:40:35 +02:00
Mark Hughes
0728f0cfd2 Adds new Animals flag 2015-09-08 16:29:11 +02:00
Mark Hughes
74b9319a1a WorldGuard Integration 2015-09-07 14:46:05 +02:00
Olof Larsson
64928d699c MassiveCore - Pager Improvement 2015-09-05 13:50:37 +02:00
Olof Larsson
658905c4e8 MassiveCore - Pager Improvement 2015-09-05 13:44:24 +02:00
Olof Larsson
841a2da73d MassiveCore - Merged Message Methods 2015-09-03 09:33:01 +02:00
Olof Larsson
47d852ed3d Return There 2015-08-29 10:35:24 +02:00
Olof Larsson
3f3ee4df6d f unstuck 2015-08-28 10:42:40 +02:00
Olof Larsson
8eaf1215d2 Territory Titles Toggle Command 2015-08-28 09:00:24 +02:00
Olof Larsson
89b93801d0 Actually we need an adminmode check as well. 2015-08-26 08:34:30 +02:00
Olof Larsson
6853923264 Fix title edit permission check. 2015-08-26 08:23:08 +02:00
Olof Larsson
33964d4aa2 No default sorting. 2015-08-24 14:24:21 +02:00
Olof Larsson
41a99c4bc5 CommandSender Link Cauldron nonsupport message 2015-08-21 14:58:04 +02:00
Olof Larsson
0642b0ede4 New getAll methods. 2015-08-03 16:17:38 +02:00
Olof Larsson
4a18daf2d9 MassiveCore Change 2015-07-24 13:42:06 +02:00
Madus
99604482aa Fix arg reading bug. 2015-05-22 10:37:36 +02:00
Olof Larsson
b244ff63c7 More Type Security 2015-05-16 14:30:49 +02:00
Olof Larsson
a9b80dacfe Remove ID update. Add NPC awareness. 2015-05-16 12:19:36 +02:00
Olof Larsson
24344ab6c8 Page ArgSetting 2015-05-13 23:00:53 +02:00
Magnus Ulf
ab9ea25bfd BugFix 2015-05-08 09:05:50 +02:00
Magnus Ulf
22cb629107 MassiveCore Change 2015-05-06 21:44:59 +02:00
Olof Larsson
fef69f347e Endermites are monsters 2015-04-28 15:28:36 +02:00
Olof Larsson
ccd1505d14 For the SpigotFeatures, actually make it throw. 2015-04-14 11:20:45 +02:00
Magnus Ulf
43d2354f04 Update ArgReaders 2015-04-09 14:37:18 +02:00
Olof Larsson
6c61da2b8d MassiveCore changes. 2015-04-09 11:55:44 +02:00
Olof Larsson
26dd2f7cbd Remove monster targeting cancellation. It is interpreted as a bug by some and is not expected behavior. 2015-03-23 09:11:53 +01:00
ulumulu1510
c65da10b52 Resolves kicking of a higher ranked Member 2015-03-09 12:33:57 +01:00
ulumulu1510
aa4645b036 Change sentence formatting in modifyMoney 2015-03-09 12:33:26 +01:00
Olof Larsson
d2b6035fd3 MassiveCore change 2015-03-05 16:12:06 +01:00
Olof Larsson
8d584eb249 Not going to be lazy 2015-03-05 00:14:24 +01:00
ulumulu1510
1dab81ede3 Fix the "can't kick player with negativ power even if adminmode is on"
bug
2015-02-22 21:48:45 +01:00
ulumulu1510
22bf4bc9bb Safer piston build protection 2015-02-19 15:28:13 +01:00
Magnus Ulf
262d1f2efa CmdRank changed to allow faction change.
Admins can now change a players faction when doing /f rank
2015-02-19 15:27:44 +01:00
Olof Larsson
48a8e81113 Add Pager Item Index 2015-02-17 10:40:15 +01:00
Olof Larsson
da5e1de456 MassiveCommandException --> Exception 2015-02-12 12:00:55 +01:00
ulumulu1510
8e13c1c13f Implement f status 2015-02-04 01:45:11 +01:00
Olof Larsson
8322528652 MassiveCore Change - ArgReaders use Exceptions 2015-02-04 01:30:07 +01:00
Olof Larsson
8c27fe6505 It's dangerous to go alone. 2015-02-03 12:47:09 +01:00
Olof Larsson
7a78823e3f SenderEntityColl Stack Traceability 2015-02-03 11:21:28 +01:00
Olof Larsson
df90260030 Territory info using 1.8 Titles. 2015-02-02 23:33:19 +01:00
Olof Larsson
15dab6e5f7 Collection Tick Stack Traceability 2015-02-02 00:25:29 +01:00
Magnus Ulf
afc45fea13 Reworked flag & perm cmd
Flag & Perm commands are now parent commands, and not so awkward.
2015-01-28 14:31:33 +01:00
Benjamin Heusser
d6d5cb325d Implement the f setpower command 2015-01-28 13:42:04 +01:00
Benjamin Heusser
486f8ac957 Rework the /f invite command to be a parentcommand. 2015-01-22 09:34:35 +01:00
Olof Larsson
29a4feeff6 Fix roleprefixforce. Thanks @coolsa. 2015-01-19 10:41:01 +01:00
Olof Larsson
454acc91d6 Break out Territory Shield logic and increase its event priority. 2015-01-19 10:35:12 +01:00
Olof Larsson
91bdeb4f3c Use MassiveCore setDamage 2015-01-19 10:08:29 +01:00
Olof Larsson
c81d7d8794 Remove Maven 2015-01-19 09:58:25 +01:00
Olof Larsson
13a4afdfb4 Maven Attempt 1 2014-09-13 00:50:33 +02:00
Olof Larsson
205169ecc0 Beta Version of the built in Dynmap integration. 2014-08-21 00:38:01 +02:00
Olof Larsson
7ac78aa503 MassiveCore - Performance improvement for command argument readers. 2014-07-31 16:42:47 +02:00
Olof Larsson
ebaae4536f Reload bug fix by @ORelio 2014-07-13 15:30:06 +02:00
DarkSeraphim
daab85102b Actually supporting custom ban messages now.
Seriously people, this was just a pain to look at.
2014-07-08 16:02:37 +02:00
Olof Larsson
3a3d5cd4fb DisplayName per Beholder 2014-06-21 19:03:39 +02:00
Olof Larsson
56768aca55 Event first 2014-06-04 16:47:01 +02:00
Olof Larsson
e43f63cf59 Rename 2014-06-04 14:02:23 +02:00
Olof Larsson
275341bc85 Merge branch 'master' of github.com:MassiveCraft/Factions 2014-05-14 15:27:37 +02:00
Olof Larsson
858b4e5fd1 1.7.9 Support 2014-05-14 15:27:27 +02:00
Tibo442
9efbd5dfc6 Update UConf.java More essentials aliases 2014-04-12 11:03:36 +02:00
godgodgodgo
46517e71e5 Add tpyes and etpyes aliases for accepting a tpa
Adds commands to block tpaccept aliases that not many people know of.
2014-04-04 01:34:23 +01:00
Olof Larsson
6bd4581d80 Compat with ProjectileSource 2014-03-27 00:13:41 +01:00
Tibo442
d0253ac676 Add Essentials e+(command) to UConf
Fixes a bug.
2014-01-25 20:35:20 +01:00
Olof Larsson
6d1d232d0c Merge pull request #527 from Tibo442/patch-1
Update CmdFactionsName.java
2014-01-25 02:41:40 -08:00
Tibo442
41870a73c6 Fix "The faction %s<i> was disbanded." colors 2014-01-22 20:10:29 +01:00
Tibo442
68192ff8b8 Update CmdFactionsName.java
Without this, a hacker/troller could "/f name (some random stuff)" spam, without the owner/admins know WHO did it.
With this, everyone knows who changed the "/f name".
2014-01-21 20:39:30 +01:00
Olof Larsson
ddb1e1f3f4 Protect against ItemFrame item removal. Fixes #501 2014-01-05 12:20:41 +01:00
Olof Larsson
b951493ea1 MCore change and disable name change broadcasting per default 2014-01-05 11:55:45 +01:00
Olof Larsson
1101f3c399 Shh no spells. Only tears now.
![Featured Image](https://www.massivecraft.com/wp-content/uploads/2013/12/shhh-no-spells-only-tears-now.jpg)
2013-12-07 11:47:52 +01:00
Olof Larsson
5d35754ed6 Money param reorder 2013-12-03 20:19:55 +01:00
Olof Larsson
efa9d6cb59 Treat a move as a move instead of a despawn+spawn. 2013-12-03 18:02:15 +01:00
Olof Larsson
05aaa8140d This constant could be useful to other plugins. 2013-12-03 17:16:41 +01:00
Olof Larsson
20659b6086 MCore change related to universed money. 2013-12-03 12:59:46 +01:00
Olof Larsson
1a63c59c54 This is 2.2.2 2013-11-11 09:31:04 +01:00
Olof Larsson
fa0c8686c1 MCore change 2013-10-18 14:52:32 +02:00
Olof Larsson
2a6937554e Cache explosion allowed results. Fixes #423 2013-09-22 11:34:21 +02:00
Olof Larsson
d945d2f947 Slightly better class desc 2013-09-21 11:43:11 +02:00
Olof Larsson
06df4dc499 Use the already casted attacker when possible. Add a line break. 2013-09-21 11:39:08 +02:00
Olof Larsson
2d9daa517e Add pvp dissalowed event. Adds #421 2013-09-21 11:32:39 +02:00
Olof Larsson
a5f4781f7b Avoid some magic values and suppress warnings for the rest. 2013-09-20 12:50:32 +02:00
Olof Larsson
5a7024db4c Fix deprecated warnings related to int vs double damage. 2013-09-15 01:08:20 +02:00
Olof Larsson
34681c7340 Remove the implementation specific customData. It's now added to all entities in Mcore. 2013-09-10 03:34:54 +02:00
Olof Larsson
b484b6bb38 Add in a place for people to store their custom data. 2013-09-10 02:40:16 +02:00
Olof Larsson
43f9f304a6 The enum sets are no longer final constants. Thus we should use camel case instead. 2013-08-29 10:48:17 +02:00
Olof Larsson
a72bebecb6 Fix power removed twice upon death sometimes with McMMO. 2013-08-27 10:56:47 +02:00
Olof Larsson
35af6ac0ea Swap format argument order. Fixes #376 2013-08-27 07:21:07 +02:00
Olof Larsson
549aaaf494 Adding in offline explosion protection per default. 2013-08-23 10:45:27 +02:00
Olof Larsson
fa0a2fb90a Move enum sets to mconf instead of hardcoding them. This way perhaps other server mods can add in stuff that's useful to them. 2013-08-23 10:14:39 +02:00
Olof Larsson
844dc6c420 Consider deactivating admin mode each time we check it. Fixes people getting stuck in admin mode that no longer has permissions for it. 2013-08-23 08:10:44 +02:00
Olof Larsson
04aca214e1 This approach is hopefully better. 2013-08-22 13:37:08 +02:00
Olof Larsson
c5be1754c4 Performance improvement as suggested by md_5, thanks. 2013-08-21 10:02:40 +02:00
Olof Larsson
a71b3a19f3 Add in optional relcolor parsing. Since it rarely may break other advanced chat plugins it can be opted out from in the mconf. Enabled by default. 2013-08-21 09:51:43 +02:00
Olof Larsson
faa61345df Fix a bug pointed out by Riking. 2013-08-12 06:48:12 +02:00
Olof Larsson
df9b10e074 Make world sets case insensitive so people can WrItE HoWeVeR tHeY WaNt. 2013-08-09 10:06:28 +02:00
Olof Larsson
66cdb21215 Note the possible NPE for further investigation. 2013-08-08 09:28:39 +02:00
Olof Larsson
32e060c2c3 Handle entity attacks without attackers. Fixes #332. 2013-08-07 07:52:26 +02:00
Olof Larsson
9aaa6de945 Avoid NPE that could arrise due to NPC plugins etc. 2013-07-31 14:50:28 +02:00
Olof Larsson
9f5753a682 Merge pull request #295 from AEtherSurfer/fix_chunk_change_event_bug
Fix chunk change event bug
2013-07-27 00:47:50 -07:00
Olof Larsson
ea5c5ce81e Untested re-added teleport to faction home on death feature. 2013-07-24 18:29:55 +02:00
ÆtherSurfer
3c13235365 fix indent 2013-07-20 19:34:18 -04:00
ÆtherSurfer
bbc77790da fix FactionsEventChunkChange bug, tryClaim changes the board in between the time it instantiates this event and it calls getType 2013-07-20 19:29:21 -04:00
Olof Larsson
428f1a18e7 This is 2.0.2_dev 2013-07-02 10:44:03 +02:00
Olof Larsson
e5e87c9359 Ooops. Missed out the recipient limits when re-deobfuscating. 2013-06-28 07:44:00 +02:00
Olof Larsson
e0729fbeb0 Add in a new tag {factions_roleprefixforce} 2013-06-27 11:42:02 +02:00
Olof Larsson
1952cd2999 Update HeroChat integration to version #214 2013-06-27 11:03:08 +02:00
Olof Larsson
6339861819 Fix bug where data migration from 1.8 would fail. 2013-06-27 10:06:15 +02:00
Olof Larsson
2172ef79c8 Removing debug code thats no longer required. 2013-06-20 09:59:36 +02:00
Olof Larsson
a85e0eccdf and again ... 2013-06-18 10:24:20 +02:00
Olof Larsson
2dd0c8e4a9 And again ... 2013-06-18 10:13:31 +02:00
Olof Larsson
25984f19de More reorder 2013-06-18 09:59:26 +02:00
Olof Larsson
42937a497d Reorder commands. 2013-06-18 09:34:46 +02:00
Olof Larsson
677a9f1a86 MCore update, bug fix and some debug output that should be removed not just yet. 2013-06-18 09:07:05 +02:00
Olof Larsson
66991fba02 Fix a bug where you could not claim a startingpoint for your base in another world 2013-05-29 14:31:09 +02:00
Olof Larsson
34d2dcb97b Ugly NPE evasion. Solves the issue probably but why did it turn null even in the first place? 2013-05-28 09:10:24 +02:00
Olof Larsson
ac95004450 Fix permision to withdraw money and chunk border/connected checking. 2013-05-17 08:37:32 +02:00
Olof Larsson
a79577a355 Another modification to the claim rights checking 2013-05-17 08:10:46 +02:00
Olof Larsson
81d79775f8 Attempt 1 at fixing the claim permission bug. 2013-05-13 07:21:11 +02:00
Olof Larsson
509e7c1711 Remove useless super() call 2013-05-13 07:06:55 +02:00
Kane York
aec60b0bea Wrong MConf value in FListenerExploit 2013-05-09 09:29:35 -06:00
Olof Larsson
7c10a6c83f MCore changes 2013-05-03 09:58:43 +02:00
Olof Larsson
cf03bd5b8a Fixing one permission check bug and adding some debug output in hope to find that bug. 2013-04-29 16:29:10 +02:00
Olof Larsson
709c1fe80d Work on TerritoryAccess and permissions. 2013-04-29 12:48:11 +02:00
Olof Larsson
3a6bca872f Allow people with permission to manage access to deny themselves access. How else should these people feel confident they can setup the access correctly? Personally my reaction was to try to deny myself and I was confused when I couldnt. 2013-04-29 10:42:33 +02:00
Olof Larsson
cea9a85f2b Fix an nPE 2013-04-29 10:35:35 +02:00
Olof Larsson
1d951fb5cf Let's allow the allowed people 2013-04-29 10:26:15 +02:00
Olof Larsson
66b4eb4b92 Pass 1 at reworking the Territory Access system. 2013-04-29 10:23:39 +02:00
Olof Larsson
03684c78f1 Testing out the new PSFormat called HumanSpace. 2013-04-26 20:22:12 +02:00
Olof Larsson
3d50e84360 Improvements to info commands. 2013-04-26 17:54:06 +02:00
Olof Larsson
1609a7cfea Renaming show --> faction and power --> player 2013-04-26 14:01:28 +02:00
Olof Larsson
7cbc99bdd6 Remove the interact spam check. I think it was only useful back in the old days where the denied messages where broadcasted to other players and not only yourself. 2013-04-26 11:07:29 +02:00
Olof Larsson
7ce0100e73 Minor changes to npe detection and denied commands 2013-04-26 11:06:07 +02:00
Olof Larsson
7626aed06a Fixing a few bugs, and adding in some debug output for unsolved ones. 2013-04-26 10:32:02 +02:00
Olof Larsson
f6d601446e Some bugfixes 2013-04-26 08:02:32 +02:00
Olof Larsson
684974b336 Minor tweaks to default config values 2013-04-25 20:21:23 +02:00
Olof Larsson
99f6087536 Typo-fix 2013-04-25 17:22:22 +02:00
Olof Larsson
71bf3e9f72 Adding in the pow command again. It should be noted that the whole information display system needs a rewrite. Perhaps one command for player and a few for faction? 2013-04-25 17:17:23 +02:00
Olof Larsson
21c7742dcb Added missing enabled requirement for sethome. 2013-04-25 17:00:22 +02:00
Olof Larsson
fffdf07178 More minor tweaks 2013-04-25 16:54:55 +02:00
Olof Larsson
ea06c468fc Fix some more small bugs 2013-04-25 16:02:37 +02:00
Olof Larsson
c6757fae60 Removing some f and adding some u. 2013-04-25 14:15:25 +02:00
Olof Larsson
7a99005f7b Tweaking requirements, removing declaim aliases and shortening the author list by using minecraft name only. 2013-04-25 13:53:22 +02:00
Olof Larsson
5047439756 More universe disabled checks. 2013-04-25 13:25:15 +02:00
Olof Larsson
ac2c7c705c Just started adding in the universe toggle. 2013-04-25 12:18:39 +02:00
Olof Larsson
8fd088e291 A few minor bugfixes and tweaks. 2013-04-25 12:04:01 +02:00
Olof Larsson
18e6c778b9 Fixing a couple of NPE 2013-04-25 11:00:17 +02:00
Olof Larsson
0fd21575e4 Adding in Faction creation timestamp. You can now see how old the faction is. 2013-04-25 10:51:11 +02:00
Olof Larsson
0ed104279f Change order in UPlayer.detachId to avoid NPE. 2013-04-25 10:27:39 +02:00
Olof Larsson
09a23353a7 Drop old special factions upon migration. 2013-04-25 09:59:25 +02:00
Olof Larsson
638ba4ca7f Thanks @Brettflan, Adding HOPPER and DROPPER to the material constant. 2013-04-25 09:54:20 +02:00
Olof Larsson
c10b6f5edc Adding in a preprocessor to avoid using the SerializedName annotation. 2013-04-25 09:49:39 +02:00
Olof Larsson
8e59017cb1 Working on the setter pattern some more. The inited check is now built into the entity changed method. 2013-04-25 08:34:10 +02:00
Olof Larsson
26af25f1c5 Improve the UPlayer setters to follow a standardized format and avoid triggering the changed method on nochange. 2013-04-25 08:01:26 +02:00
Olof Larsson
8070cc5579 Readd the powerboost for players and the proper maximum power per faction calculation. 2013-04-25 07:53:26 +02:00
Olof Larsson
8382d39409 Thanks @LiLChris, a cosmetic change. 2013-04-25 07:32:33 +02:00
Olof Larsson
e32a741b3b Renaming sender vars in the command system to more proper names. 2013-04-25 07:29:19 +02:00
Olof Larsson
882bdf4c88 Thanks @AEtherSurfer, changed the order of faction and radius in the claim command and added a maximum radius. 2013-04-24 20:17:20 +02:00
Olof Larsson
aea6c38eaf Nah lets not create a built in badword list. Its not doable due to the scunthorpe problem. 2013-04-24 19:04:53 +02:00
Olof Larsson
5eed71fc67 Rename Faction Tag to Faction Name. What did tag ever mean? Name makes more sense. 2013-04-24 19:01:17 +02:00
Olof Larsson
82e380cd3d these changes fixes a few startup errors related to non-attached factions lacking universe. 2013-04-24 18:22:52 +02:00
Olof Larsson
80eb506499 Fixing one typo and a minor bug. 2013-04-24 16:50:19 +02:00
Olof Larsson
0992c403b5 minor stuff 2013-04-24 16:40:35 +02:00
Olof Larsson
7e33bd0bf1 Add an intermediate Colls class for that shared universe-get logic. 2013-04-24 16:27:47 +02:00
Olof Larsson
643d6ba3c7 Adding TRAPPED_CHEST to the set of container materials 2013-04-24 16:12:55 +02:00
Olof Larsson
9b932cb1c6 Permission node cleanup and removal of the commented out deprecated API. 2013-04-24 16:10:16 +02:00
Olof Larsson
da2cc0f052 Whatever, lets just move the last listener stuff over 2013-04-24 15:37:17 +02:00
Olof Larsson
8fce53b4fc Recruits should per default not be allowed to build 2013-04-24 15:30:08 +02:00
Olof Larsson
521218cd6d Chunk change logic is now good enough. Moving it to the MainListener. 2013-04-24 15:19:49 +02:00
Olof Larsson
aa989db8f7 Working on auto claim 2013-04-24 15:14:15 +02:00
Olof Larsson
f6da2d397b Specifying meanings for null in Faction fields and removing the getAccountId method alltogether. 2013-04-24 14:42:52 +02:00
Olof Larsson
6846c426c4 Minor touches to player defaults. 2013-04-24 14:31:10 +02:00
Olof Larsson
0eb121c444 The Special Factions are now unique per universe. 2013-04-24 13:50:02 +02:00
Olof Larsson
e0c6e71b91 Removed WorldGuard integration. Can be readded later in a proper manner if anyone need it. Also moved some more Econ stuff to the listener. 2013-04-24 13:26:59 +02:00
Olof Larsson
bd8d945c7b Decoupled LWC integration. This is a good example of what integrations should look like. We are using events only. For this reason the LWC integration could be placed in another plugin and this is good practice. Im not saying we should move the LWC integration to another plugin but its good practice that its possible. 2013-04-24 11:30:00 +02:00
Olof Larsson
05da06594a Unifying, simplifying and messing around with land claiming and the related costs. 2013-04-24 11:16:37 +02:00
Olof Larsson
8ac19453b6 MCore change 2013-04-24 08:59:43 +02:00
Olof Larsson
cb1926c5c1 Rename task classes to correspond to config values and use minutes as the unit for human readability and thinking. 2013-04-24 08:48:35 +02:00
Olof Larsson
825d937c84 Moved the last stuff away from ConfServer. 2013-04-24 08:39:26 +02:00
Olof Larsson
d9a23241ec Move some more stuff from ConfServer --> UConf 2013-04-24 07:51:48 +02:00
Olof Larsson
3dc2691bea Moving home config from ConfServer --> UConf 2013-04-23 18:07:17 +02:00
Olof Larsson
29e05fd54d Introducing a power Mixin since Bukkit does not allow permissions for offline players and we want to know for offline players. Servers wanting individual power rules can implement and inject this mixin. 2013-04-23 17:01:43 +02:00
Olof Larsson
f802307056 Messing arund a bit with defaults 2013-04-23 14:00:18 +02:00
Olof Larsson
f8c3c6a911 Dynamic event priority. Thanks @riking. 2013-04-23 12:54:34 +02:00
Olof Larsson
ea18f1dd0d Refactor denied commands 2013-04-23 12:31:51 +02:00
Olof Larsson
3c60f75bbd Rethinking power calculation some. 2013-04-23 12:14:36 +02:00
Olof Larsson
6b7312bcf8 Move deny commands from ConfServer to UConf. 2013-04-23 09:17:30 +02:00
Olof Larsson
90d819ab18 Allergy reaction kicked in. This commit removes the Spout features. I have nothing against spout but if we are going to have them we should do them properly. They should be coded in such a way that they could be in an external plugin alltogether. Also removed netbeans stuff from IDE that should not be in the github repo. 2013-04-22 21:00:00 +02:00
Olof Larsson
bc194efc9b more variable renames for FPlayer --> UPlayer 2013-04-22 19:57:11 +02:00
Olof Larsson
19f9834210 Starting to rename fplayer --> uplayer since we will need an mplayer. 2013-04-22 17:59:51 +02:00
Olof Larsson
e30c652759 Moving the power configuration from MConf to UConf. 2013-04-22 17:20:34 +02:00
Olof Larsson
9a324d572e Try moving some core configuration over to UConf. 2013-04-22 16:58:22 +02:00
Olof Larsson
6d2db1930c We need UConf as well as MConf. 2013-04-22 16:26:44 +02:00
Olof Larsson
26fa7e8b95 Minor startup fixes 2013-04-22 15:05:00 +02:00
Olof Larsson
390ad76fa6 Patched away the errors with ugly meassures. 2013-04-22 14:16:07 +02:00
Olof Larsson
61e8730495 Quickfixed everything easy. 2013-04-22 13:03:21 +02:00
Olof Larsson
9fc75b1fcf Halfway through adding in universe support 2013-04-22 12:26:13 +02:00
Olof Larsson
de703d3461 The Derpy overrides are MConf for sure. 2013-04-22 10:43:40 +02:00
Olof Larsson
c43bfbe537 Moving stuff around in ConfServer and adding properm methods to the enums for DefaultDefaults. 2013-04-22 10:37:04 +02:00
Olof Larsson
e901cae995 Moving more stuff and removing useless lwc integration config option. 2013-04-22 10:05:03 +02:00
Olof Larsson
b0871b0ee6 Moving prefixes and chat from ConfServer to MConf 2013-04-22 09:51:19 +02:00
Olof Larsson
ec8be2d2c0 Moving colors to MConf 2013-04-22 09:41:48 +02:00
Olof Larsson
41bb3f6e05 Moving files around 2013-04-22 09:37:53 +02:00
Olof Larsson
ae61ef4c37 Testing the new money interface 2013-04-19 18:34:21 +02:00
Olof Larsson
d1cebc351e Rename mods --> officers in souce code and minor touches to the economy integration. 2013-04-19 15:51:41 +02:00
Olof Larsson
2299949a4a Fix a couple of old cases where it said Admin instead of Leader. 2013-04-19 15:32:16 +02:00
Olof Larsson
c2063a47b2 Some indent style and comment management. 2013-04-19 15:01:53 +02:00
Olof Larsson
afe944d3c4 For some reason I like ...Change events. The power loss event is now converted to a power change event. 2013-04-19 14:40:28 +02:00
Olof Larsson
9770cb8983 Minor messaround with land claiming. 2013-04-19 14:24:35 +02:00
Olof Larsson
c6739c4aa9 More econ event moves 2013-04-19 14:08:45 +02:00
Olof Larsson
f22ea3300f Move the temporary spout stuff to a temporary listener like we did with Econ. 2013-04-19 12:48:29 +02:00
Olof Larsson
87ee57e004 Achieve some minor symmetry increase and use listener for the home command. 2013-04-19 12:44:28 +02:00
Olof Larsson
61baf70ed1 Major messaround with the internal events and payForCommand logic. Not done just yet though. 2013-04-19 12:27:39 +02:00
Olof Larsson
d3488311de It makes no sense to charge for purely informational commands does it? If it does we can add them in later again. Also adding in a in progress listener to show how internal events should be used for integration with other plugins 2013-04-19 10:07:53 +02:00
Olof Larsson
2f8f0713e8 Minor touches to the Econ integration 2013-04-19 09:50:33 +02:00
Olof Larsson
1df5638903 Adding in friend-state into the Rel enum and removing the config option. 2013-04-19 08:20:38 +02:00
Olof Larsson
bf22f9e289 I think this rename makes sense. 2013-04-18 21:03:38 +02:00
Olof Larsson
18da8c1250 Moved canCombatDamageHappen logic to the main listener. 2013-04-18 21:00:46 +02:00
Olof Larsson
f70cc283db Fixing some NPE and similar small issues. 2013-04-18 20:28:12 +02:00
Olof Larsson
5ddfb19861 Make some notes in the source saying that we should use event based integration. 2013-04-18 17:47:42 +02:00
Olof Larsson
26a59fb01c Clean up some LWC stuff. 2013-04-18 17:42:49 +02:00
Olof Larsson
ede66bac6b Move out and clean even more listener content. 2013-04-18 17:20:42 +02:00
Olof Larsson
7c2dacce7c Some more work to the potion damage checker. Moved stuff to MCore infact. 2013-04-18 17:12:46 +02:00
Olof Larsson
5f18ef6d0c Clean up the denyCommands logic. 2013-04-18 16:35:45 +02:00
Olof Larsson
3ac432ac3d Clean up the Monsters flag logic. 2013-04-18 16:11:45 +02:00
Olof Larsson
86b143573d Working on the listeners some more. 2013-04-18 15:59:20 +02:00
Olof Larsson
9e6006e7d6 These should in no way be required anymore 2013-04-18 15:44:47 +02:00
Olof Larsson
1ee9f2bba3 Modernizing the Herochat integration, it may still be outdated with newer Herochat versions though. 2013-04-18 15:40:58 +02:00
Olof Larsson
5e481d4120 Only handle faction tags. No standard ones. 2013-04-18 15:31:05 +02:00
Olof Larsson
e9b2b4ee66 Adding in chat listener content. 2013-04-18 15:18:47 +02:00
Olof Larsson
170edc5811 Pass 1 at adding in better chat formating 2013-04-18 14:57:56 +02:00
Olof Larsson
c098171759 Decouple and put all exploit fixes in their own listener. 2013-04-18 14:02:39 +02:00
Olof Larsson
af094b6647 Make the recurring tasks non-tps-dependent. 2013-04-18 13:36:52 +02:00
Olof Larsson
1c5c5557b0 Yeah, all the stuff in Factions.java at the bottom is related to invalid task-logic. This is what I should fix next. 2013-04-18 12:39:20 +02:00
Olof Larsson
bc0a8da76f Remove LazyLocation and declare that Tasks are not Utils. 2013-04-18 12:29:56 +02:00
Olof Larsson
9a8f2071e0 Removing the feature where there is no PVP for a few seconds after login. We do not handle teleportation which could also be a form of suprise-attack. For this reason more complex logic should be implemented in a sepparate plugin. Not in Factions. 2013-04-18 12:25:05 +02:00
Olof Larsson
8c00268015 A few I missed 2013-04-18 11:11:18 +02:00
Olof Larsson
9e6904b564 Make use of ignoreCancelled = true 2013-04-18 11:09:31 +02:00
Olof Larsson
2b11bc1042 Working on the player listener slightly and trying to figure out how to handle the lastLoginMillis through Mixin instead of locally stored. 2013-04-18 11:02:58 +02:00
Olof Larsson
2ddef9f499 Recode the fplayer power calculation 2013-04-18 10:35:40 +02:00
Olof Larsson
10455c7acd Remaking PR 229 by squidicuzz 2013-04-18 08:00:18 +02:00
Olof Larsson
3938c92740 Merged block listener into main listener 2013-04-17 16:21:25 +02:00
Olof Larsson
003afbf108 Add in some ASCII-art and make sure the adapters have premade instances. 2013-04-17 15:49:29 +02:00
Olof Larsson
f4d799e978 Starting to clean up FPlayer 2013-04-17 15:30:21 +02:00
Olof Larsson
6ad243c014 Optimized indexer but that was not enough. Added back the cached index again but with new technology. 2013-04-17 14:44:08 +02:00
Olof Larsson
0776e5ae55 Fixing faction permOverides and making use of a predictate to send faction messages. 2013-04-17 13:16:22 +02:00
Olof Larsson
818c051ae1 Write some comments and reorder fields 2013-04-17 12:08:30 +02:00