Commit Graph

1032 Commits

Author SHA1 Message Date
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