Commit Graph

682 Commits

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