Commit Graph

1210 Commits

Author SHA1 Message Date
Olof Larsson
747e9c1d3a Use Pager and Asynchronous execution for the f list command. 2015-01-08 10:00:38 +01:00
Magnus Ulf
e4aa8cb633 Updated rank commads
Updated rank command after feedback from Cayorion.
SHould we use role or rank?
2015-01-04 15:35:17 +01:00
Olof Larsson
d463d378b4 Now then? 2014-12-30 10:29:31 +01:00
Olof Larsson
1af49d4946 Merge pull request #717 from magnusulf/master
Better support for Economy systems
2014-12-30 10:15:11 +01:00
Olof Larsson
1f479bd699 Java 1.6 compatibility and tweaks to the previous commit. 2014-12-30 10:01:54 +01:00
Magnus Ulf
68fe1f2d28 Rank cmd rework 2014-12-30 09:28:41 +01:00
Olof Larsson
10a19d00c4 Move WorldExceptionSet from Faction to MassiveCore. Closes MassiveCraft/MassiveCore#197. 2014-12-19 11:53:59 +01:00
Olof Larsson
40bf1af44a Further improve armor stand protection. We must block place an break too, obviously. 2014-12-19 11:50:28 +01:00
Olof Larsson
bb1d2e9c54 Protection of Minecraft 1.8 armor stands. 2014-12-16 22:25:35 +01:00
Olof Larsson
cc31d334bf Use implicit string based lazily evaluating sets instead of explicit enum sets. Fixes MassiveCraft/Factions#730. Fixes MassiveCraft/Factions#733. 2014-12-16 02:07:09 +01:00
Olof Larsson
83006399a9 Removed dormant universe support in HeroChat. Fixes #718. 2014-12-12 10:36:18 +01:00
Olof Larsson
327caeea47 Updated ParticleLib. Fixes MassiveCraft/Factions#723. 2014-12-12 10:28:36 +01:00
Olof Larsson
6ab443c8b7 Various sender reference improvements. Fixes MassiveCraft/Factions#726. 2014-12-10 10:27:56 +01:00
Olof Larsson
3d93d07c99 Fix guardian spelling. 2014-12-10 09:14:13 +01:00
drexplosionpd
bd89d9d3e8 Update MConf.java
Added 1.8 Block, mobs, and Armor stand
2014-12-08 22:18:56 -05:00
Olof Larsson
442bbd1139 We might have the special faction id but not the faction on update. Probably Fixes #722. 2014-12-05 00:34:48 +01:00
Olof Larsson
d23ac9de09 Repair the war claiming if statement. Fixes #708. Fixes #711. 2014-12-04 10:49:43 +01:00
Olof Larsson
e5d7749255 Use inhouse getOnlinePlayers method. 2014-12-03 02:13:39 +01:00
Olof Larsson
70c5e36645 Link pom.xml version to plugin.yml version 2014-12-02 23:54:46 +01:00
Madus
4dc2b29eca Better support for Economy systems
This will add better support for economy systems hooking directly into MassiveCores econ system.
Now they can take advantage of the category.
2014-11-30 19:40:06 +01:00
Olof Larsson
a70ee689c6 NPE evade. Fixes #712. 2014-11-26 15:01:12 +01:00
Olof Larsson
446ba5c74c Swapped open flag yes/no descriptions. They were the wrong way around. 2014-11-24 07:56:10 +01:00
Olof Larsson
4896362cd8 This is 2.7.1 2014-11-21 11:25:30 +01:00
Olof Larsson
5d0f0abd4d Supply the Plugin upon registration of a MassiveCommand. 2014-11-21 10:48:51 +01:00
Olof Larsson
ad4fab5372 Fix a security flaw in the player autokick algorithm. Never trust OfflinePlayer#lastPlayed(). 2014-11-21 09:59:04 +01:00
Olof Larsson
8eb3d25969 This is 2.7.0 2014-11-19 11:51:36 +01:00
Olof Larsson
f8d7e50828 Ensure recreation of faction flags and perms on getAll and every 3 seconds to allow for runtime database deletion without server crash. 2014-11-19 11:24:36 +01:00
Olof Larsson
c058cd7ca5 Split up set in to claim and unclaim 2014-11-19 10:30:44 +01:00
Olof Larsson
2240696c98 Get PS from Location rather than Entity to minimize the risk for hitting a velocityX NaN bug. 2014-11-18 10:00:15 +01:00
Olof Larsson
7da0b805a1 Improve source code comments for MFlag and MPerm. 2014-11-18 09:49:11 +01:00
Olof Larsson
3cb44eef0c Better defaults 2014-11-17 11:14:09 +01:00
Olof Larsson
19ce054de2 Deprecate some methods, add some config comments and fix an adminmode bug. 2014-11-14 08:41:58 +01:00
Olof Larsson
a376fffa47 Use Massive collections to avoid null checks, convert to lower case and use quicker permission and flag checking. 2014-11-13 11:41:21 +01:00
Olof Larsson
aa0edb28b7 Add Expansions command and placeholders. 2014-11-12 11:34:43 +01:00
Olof Larsson
40a666c7c3 Breaking out to an expansion plugin. 2014-11-07 13:14:32 +01:00
Olof Larsson
caeb907a03 Java 1.6 Compliance. Dynmap as jar dependency. Their maven repo does not seem to work. 2014-11-07 08:38:26 +01:00
Olof Larsson
2ac847fe14 Added tip to /f set. Empowered board interface with extra methods. 2014-10-22 07:50:30 +02:00
Olof Larsson
b1c0512b46 Fire FactionsEventDisband when last player leaves faction. Fixes #642. 2014-10-21 07:48:42 +02:00
Olof Larsson
972eace5d2 Better MFlag description system 2014-10-18 18:30:13 +02:00
Olof Larsson
2612615d52 Increase the map width by another character, better ARRel, tweaked default permissions. 2014-10-16 18:03:58 +02:00
Olof Larsson
7696265eef Eventified /f f and better flag interest detection. 2014-10-15 14:35:50 +02:00
Olof Larsson
6709363f99 Added MOTD event 2014-10-15 12:05:16 +02:00
Olof Larsson
7ceafaee55 Weaken the default territory shield. Suggested by my server staff. 2014-10-14 10:33:05 +02:00
Olof Larsson
fd102bbd39 Add missing else before if. Wilderness is now never Your Faction. 2014-10-14 10:08:54 +02:00
Olof Larsson
de1968c216 These messages are even better. 2014-10-14 09:43:57 +02:00
Olof Larsson
c838e55f6d I don't need to do that. It's the default. 2014-10-14 09:25:00 +02:00
Olof Larsson
2a827a28b1 Improve /f map by increasing the width and making the height much larger in case its a single view. 2014-10-14 09:09:37 +02:00
Olof Larsson
e3785a1790 Customized formats when using different claim tools. 2014-10-14 08:56:07 +02:00
Olof Larsson
8f694e6277 Fix circle claim and bump the max radius. 2014-10-14 08:19:00 +02:00
Olof Larsson
2c08c1a32c Suggest new command on using old command. 2014-10-14 08:03:05 +02:00
Olof Larsson
8d31a0d4a0 New command structure. Todo fix broken circle claim. 2014-10-13 15:14:34 +02:00
Olof Larsson
c690d33ad6 Better claiming. Step 1. 2014-10-13 11:42:40 +02:00
Olof Larsson
b54293577d Rework the ARFaction. No best match. Matching is slow and dangerous. 2014-10-13 08:11:00 +02:00
Olof Larsson
6974c82bb6 Consider Nether Portal spawns too. 2014-10-09 17:00:58 +02:00
Olof Larsson
7658b4d42a Actually these are better default values. 2014-10-08 11:19:06 +02:00
Olof Larsson
7061027fc0 Hide SeeChunk effect for dead players. 2014-10-08 09:56:23 +02:00
Olof Larsson
8630ae8ed3 Better See Chunk 2014-10-08 09:24:03 +02:00
Olof Larsson
f1375ea699 Rename and repackage the Engines/Listeners. 2014-10-08 06:38:26 +02:00
Olof Larsson
54e04fee88 Listeners should be MassiveCore engines. 2014-10-08 06:24:37 +02:00
Olof Larsson
48bda6a2df Claimnear perm and optional minimum distance between factions. 2014-10-07 17:08:40 +02:00
Olof Larsson
4286a0c1a0 Some flag tweaks. Use same name scheme as permissions. Also added deposit permission. 2014-10-07 12:30:44 +02:00
Olof Larsson
662dbb85ed Strange NPE evade. Fixes #534, #387, #692 2014-10-06 13:24:52 +02:00
Olof Larsson
8d285eab34 Event based and configurable player timeout system, visible through /f p. Also started storing the last player activity locally since the Bukkit API is broken. This will probably fix issues reported where players never get kicked. 2014-10-06 13:08:34 +02:00
Olof Larsson
a57f05eb1d Only block natural spawn types. 2014-10-03 18:01:40 +02:00
Olof Larsson
8612f0a39a Add faction argument to /f name. Adds #680 2014-10-03 13:37:47 +02:00
Olof Larsson
1141dce696 Dodge DBZ. Fixes #573. 2014-10-03 13:22:35 +02:00
Olof Larsson
73c56fee64 Protect MinecartChest and MinecartHopper. 2014-10-03 13:16:07 +02:00
Olof Larsson
7b508a9870 Fix the cactus dupe 2014-10-03 12:52:46 +02:00
Olof Larsson
d0a2133976 Some NPE evasion and checking 2014-10-03 11:48:25 +02:00
Olof Larsson
636e72ee67 Slightly better claim messages. Much better LWC. 2014-10-03 11:23:54 +02:00
Olof Larsson
e722662223 Added more faction permissions. Allies can now teleport to each others homes per default. 2014-10-03 09:01:36 +02:00
Olof Larsson
ebfbbf4555 Fixed LWC integration for servers not using LWC and automated dynmap flags. 2014-10-03 08:07:12 +02:00
Olof Larsson
bf325c46df This is not the place to remove invisible stuff. Should be done in the dynmap format in the config instead. 2014-10-02 16:33:50 +02:00
Olof Larsson
9b392f38a1 Add empty line below motd 2014-10-02 16:29:12 +02:00
Olof Larsson
f6ac407a14 Fix parameter name 2014-10-02 16:15:15 +02:00
Olof Larsson
a09ee5f1f4 MOTD 2014-10-02 16:12:16 +02:00
Olof Larsson
422c896631 Make the Faction Permissions more dynamic as well. 2014-10-02 14:02:07 +02:00
Olof Larsson
670d8e4a5f Better flag system. Permission to change faction flags of choice. Possibility for other plugins to add faction flags, and more. 2014-10-02 11:45:06 +02:00
Olof Larsson
2f021ecc72 Remove random custom special faction ids and create update process for it. 2014-10-01 22:00:08 +02:00
Olof Larsson
cfc95f4895 Support more sender object types in the canPlayerBuildAt method. Makes it possible to check offline player rights too. 2014-09-19 09:30:08 +02:00
Olof Larsson
72da80bfa0 Extra related fixes. 2014-09-18 14:45:32 +02:00
Olof Larsson
9503baff6e Silence the create and disband actions. The general public need not know. It will just be spammy. 2014-09-18 14:37:30 +02:00
Olof Larsson
b65d76f4e9 This option should always be disabled. Will only result in extensive trolling. 2014-09-18 14:29:19 +02:00
Olof Larsson
aa350da005 Improve the Faction home system. 2014-09-18 13:41:20 +02:00
Olof Larsson
a4ff2abd5c Sync MConf at once on update. Also don't transfer 0 money on disband. 2014-09-18 00:18:07 +02:00
Olof Larsson
07ab309e1c Better world feature sets. 2014-09-17 22:29:33 +02:00
Olof Larsson
cf859f2e61 Upgraded to EngineAbstract for LWC and made use of the LWC module system. 2014-09-17 21:31:41 +02:00
Olof Larsson
34b166503e Oooops 2014-09-17 16:22:45 +02:00
Olof Larsson
f0189c0f8f Fix an updater bug, remove the aspect and readd EngineIdUpdate. 2014-09-17 16:15:33 +02:00
Olof Larsson
d35fb013d6 Initial version of auto updater for the new non universed version. 2014-09-17 15:51:09 +02:00
Olof Larsson
84815a6cd8 Remove whitelist and blacklists for now till we have them properly thought through. 2014-09-17 14:35:57 +02:00
Olof Larsson
3ade89cf1f Fix indent style 2014-09-17 14:25:26 +02:00
Olof Larsson
9ecb4f532a Merge pull request #687 from MarkehMe/master
Adding new LWC Features
2014-09-17 14:18:34 +02:00
Olof Larsson
19102ffd83 Adding OldConf in as previous UConf for future use. 2014-09-17 14:18:27 +02:00
MarkehMe
83fcee70fd New event handlers, adds support for new configuration options (untested, but should work) 2014-09-17 22:02:42 +10:00
MarkehMe
cc040a1c28 New LWC configuration options 2014-09-17 22:00:20 +10:00
Olof Larsson
5e812e1b9b Actions based on text search for the word universe. 2014-09-17 13:33:09 +02:00
Olof Larsson
0b60a5ad1a Loads of UPlayer --> MPlayer renames 2014-09-17 13:29:58 +02:00
Olof Larsson
529ae45ede Step 1 in many removing the universe system. Untested and lacking auto convert features. 2014-09-17 13:17:33 +02:00
Olof Larsson
c0b7b783b2 Use xlib custom shaded. 2014-09-13 10:24:49 +02: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
Olof Larsson
109d6059ce Get rid of Essentials integrations, use MCore teleporter for now and PS homes. As for chat I need to rewrite the chat system. Essentials integration can be readded later if needed. 2013-04-17 11:47:48 +02:00
Olof Larsson
4449b56246 MCore use CommandSender above Player. Adhere to this standard. 2013-04-17 10:41:38 +02:00
Olof Larsson
299316a915 Use FPerm for invite and deinvite as opposed to checking ranks. 2013-04-17 10:34:48 +02:00
Olof Larsson
2689bad8a0 Messing around with Faction source code style and default values. 2013-04-17 10:22:51 +02:00