Commit Graph

357 Commits

Author SHA1 Message Date
Driftay
edc62a8493 Completely Reformatted Alts System for Better Performance and Command Help 2019-05-22 20:12:46 -04:00
Driftay
c5445e2d17 Fixed NPE with Start flight method 2019-05-20 15:25:23 -04:00
Driftay
3c5d8ee050 Fixed Alts NullPointer
Setup base for Members Upgrade
2019-05-19 19:01:59 -04:00
Driftay
06e7eaf572 Initial Release Commit
Standard Feature Placement.
2019-05-19 16:09:00 -04:00
Driftay
23b92e1246 Added alot 2019-05-15 03:10:10 -04:00
Driftay
26a9e4eba8 Added alot 2019-05-14 22:07:59 -04:00
Driftay
a25ba5e71c Added alot 2019-05-14 09:27:57 -04:00
Driftay
8c6107859e Code Overhaul + Minor Fixes 2019-04-16 09:02:31 -04:00
SvenjaReißaus
786d6be217
Added some translation for more frecuent messages. Fixes #124 2019-03-19 09:56:49 -05:00
SvenjaReißaus
90a5f53e21
Let's try something else, to finish it up 2019-03-18 23:17:29 -05:00
SvenjaReißaus
22670ddb15
Workaround from player-exploiting the latest suggested config 2019-03-14 10:00:48 -05:00
ProSavage
95840bdfce -1 slots dont place. 2019-03-11 02:29:12 -05:00
ProSavage
5a63e71054 Merge branch '1.6.x' of https://github.com/ProSavage/SavageFactions into 1.6.x
# Conflicts:
#	src/main/java/com/massivecraft/factions/SavageFactions.java
2019-03-04 15:46:39 -06:00
Liz3
c6512bf316 Fixed Indents on all files using the reformat option and optimized imports 2019-03-03 04:51:21 +01:00
SvenjaReißaus
39334070a7
WIP: DCustom Default Faction Permissions - No reliable 2019-02-26 12:15:17 -05:00
Driftay
5a37320397 Code Cleanup/Added Configurable option to deny and remove homes in ANY factions land.
More Soon..
2019-02-10 23:57:45 -05:00
Driftay
3559a9f090 Added Configurable Option to Broadcast Disband and Create Messages For Factions
**More Coming Soon**
2019-02-09 13:33:02 -05:00
GenialJerome
69207ac898 Protection, Placeholder and fix
Add :
- PlaceHolder %faction_name_at_location%
- Add protection with farm land
- Add protection to shulkers, to beacon, cauldron and brewing stand
- Add protection with bone meal
- Convert permission for the command

Fix :
- Console /f list
- Console /f show
- Claim with Wilderness is unclaim the land
- Dynmap players.admins and players.admins.count is for co-leader. The leader already have players.leader and a faction have one leader only

Optimization
2019-01-27 03:41:25 +01:00
Driftay
c45ee751f5 Fixed F Chest Name Bug 2018-12-29 13:43:54 -05:00
ProSavage
7be48b5942 Fixed disband exploit 2018-12-23 18:20:54 -06:00
ProSavage
266c598b76 Fixed the spam issue with a real fix. 2018-12-21 15:46:10 -06:00
ProSavage
d19b321438 New deploy & some javadoc fixes 2018-12-20 20:15:10 -06:00
ProSavage
cc1714b757 Made an Upgrade Enum, the code in /f upgrades is horrible, will be working on improving it. 2018-12-15 23:04:23 -06:00
GenialJerome
16aa87a16a Faction Disband Reason & Auto-Completion
- Add Faction Disband Reason
- Add Auto-Completion
- Optimization
2018-12-09 03:13:18 +01:00
Joshua Murphy
364a6d28fa Fixed Typo With Focus 2018-11-22 02:16:58 -05:00
Joshua Murphy
a59c226747 Added Focus/Config Fixes 2018-11-22 02:09:58 -05:00
GenialJerome
a59e3d9a82 Merge remote-tracking branch 'upstream/1.6.x' into 1.6.x
Merge commit writed after the fork
2018-11-21 02:28:38 +01:00
GenialJerome
5f8ea0bd19 PowerRegenEvent and optimization
- Add power regeneration event
- Change getNone(), a deprecated method, to getWilderness()
- Optimization
2018-11-20 21:01:04 +01:00
Joshua Murphy
ee8927039b Fixed Typo With F Stealth 2018-11-20 05:26:19 -05:00
ProSavage
7a59ad4a66 Fixed all javadoc errors and regenerated them. 2018-11-19 01:34:31 -06:00
ProSavage
84f1d354eb Fixed spacing in code around ! operator. 2018-11-07 10:14:42 -06:00
ProSavage
b1b9bd1b73 Reformatted Code 2018-11-06 23:38:44 -06:00
ProSavage
cd09e77b42 Fixed internal name problems with leader 2018-11-06 23:16:11 -06:00
ProSavage
9aeb70404d Renamed Main Class of plugin from 'P' to 'SavageFactions', along with the plugin field from 'p' to 'plugin' 2018-10-22 18:43:02 -05:00
ProSavage
80e66d7d6c Changed the enum for Leader to actually be leader and not admin. 2018-10-18 19:39:48 -05:00
ProSavage
4075c33ef5 javadocs 2018-10-17 16:48:50 -05:00
ProSavage
f1a42749da Disband exploit fixed 2018-10-01 16:53:10 -05:00
Driftay
1ee8089ca5 Changes Adding 2018-09-21 02:29:28 -04:00
Driftay
e580c7eee9 Revamped F Stealth 2018-09-20 16:55:19 -04:00
ProSavage
4ad062dddb Fixed all issues with F chest, and a massive increase in performance due to /f chest only serializing / deserializing on startup/shutdown instead of realtime. 2018-09-09 12:40:45 -05:00
ProSavage
ef2ab6b4c6 Reverted MCommand because 9ce8467224 commit broke it :/ 2018-09-02 19:36:37 -05:00
ProSavage
989c190c8a Merge branch '1.6.x' of https://github.com/ProSavage/SavageFactions into 1.6.x 2018-08-28 21:08:50 -05:00
ProSavage
72746f5b4e Made some changes for javadoc generation 2018-08-28 21:07:51 -05:00
ProSavage
e31e6eca88 Refactored usage of some methods 2018-08-28 21:07:27 -05:00
Svenja Reissaus
9ce8467224 And I did it again 2018-08-28 12:06:26 -03:00
ProSavage
2410fafcc4 Added a cost per use to stealth mode! 2018-08-27 10:39:34 -05:00
ProSavage
36efd8a24e Added timeout to stealth mode! 2018-08-26 22:27:55 -05:00
ProSavage
7bfe5cef22 Refactored new multiversion SUGAR_CANE_BLOCK material. 2018-08-13 00:38:01 -05:00
ProSavage
8fc9ed7395 Fixed all cross version material issues. 2018-08-13 00:33:40 -05:00
ProSavage
9216bdbb48 Crop growth material fixes for 1.13! 2018-08-13 00:02:03 -05:00
ProSavage
207c4daab1 f perms now works in 1.13 2018-08-05 01:05:14 -05:00
Svenja Reissaus
38a693b85e Fixed #36 minor typos 2018-08-05 02:07:26 -03:00
ProSavage
7babd6c1cb Removed Debug Message 2018-08-04 21:47:06 -05:00
ProSavage
f18fd50d15 Made Config converter to change legacy items to new items 2018-08-04 21:41:31 -05:00
ProSavage
d0cf88c9c6 Fixed all errors with Sevenja's new commits 2018-08-04 20:32:36 -05:00
Svenja Reissaus
640871d696 Double check to prevent /f upgrades items showing up when disabled 2018-08-02 15:05:39 -03:00
Svenja Reissaus
40a0d72270 Added /f home permission added to keep players from complaining 2018-08-02 12:33:51 -03:00
Svenja Reissaus
d6d8031804 Only mods and higher should use Mod Chat Channel 2018-08-02 11:54:39 -03:00
Svenja Reissaus
1ac9c123d0 Improved recent Stealth feature to use local variables (performance enchancing) 2018-08-02 11:32:53 -03:00
Svenja Reissaus
cbb7d478a7 Fixed re invite spam to already invited member and enhanced kick permission check 2018-08-02 11:13:16 -03:00
Driftay
751f46e57e F Stealth Added
Signed-off-by: Driftay <saser_elite@yahoo.com>
2018-07-30 12:05:28 -04:00
ProSavage
51f157931f Fixed all compile errors ( Took forever ) 2018-07-28 00:31:58 -05:00
ProSavage
a2f44ffd74 Removed claim from /f perms as the permission is ambiguous with the territory permission 2018-07-26 18:19:56 -05:00
ProSavage
afc4dbf9b8 /f warunclaimall now actually sends a message on success. 2018-07-26 18:17:24 -05:00
ProSavage
f915507a18 Action GUI can now be 6 rows long, surprised no one noticed this bug. 2018-07-26 18:07:55 -05:00
ProSavage
e6559a439a Added protection to the vault where hoppers cannot be placed to use the vault as infinite storage. 2018-07-26 12:16:28 -05:00
ProSavage
cb6f0a8104 Fix claiming check bug caused by Sevenja's Pull Request 2018-07-25 15:09:55 -05:00
ProSavage
f0e99674c6 Moved one of the checks in Exp Upgrade up to improve performance 2018-07-23 12:00:01 -05:00
ProSavage
6a1072b935 Base64 serializer redone to support mob spawners & should support ALL NBT 2018-07-22 21:38:35 -05:00
ProSavage
e9b080bc9e Made a check for tnt when disbanding. 2018-07-20 20:32:46 -05:00
ProSavage
408725c1d7 Made a Factions.disband() method into the api. 2018-07-20 11:42:47 -05:00
ProSavage
da32970389 Faction truce claims now shown on map. 2018-07-17 10:19:22 -05:00
ProSavage
3543030e64 /f tnt withdraw issue fix. 2018-07-17 09:26:25 -05:00
ProSavage
07d8d95969 Containers can now be accessed by default if undefined & the player is in the same faction as the container being accessed. 2018-07-17 09:03:01 -05:00
ProSavage
143daad9e6 F map autoupdate during flying fixed. 2018-07-12 11:11:07 -05:00
Naman
bd7b57cf5a Fixed package path for InventoryUtil 2018-07-11 09:03:47 -05:00
WhiteFoxHD
c65f908a1b
Modified Inventory saving in game
Saves the inventory contents instead of the inventory
2018-07-09 16:01:47 -04:00
Naman
f70cc119df 1.7 spectator bug fixed.
Placeholderapi is no longer a requirement.
/f showclaims lag fixed
Scoreboard is now off by default, can be turned on in config.
Issue with Flight AutoEnabling when disabled has been fixed.
1.7 itemflag bug fixed
2018-06-21 14:16:55 -05:00
ProSavage
cb947404f6 Finished up some issues with inventory saving, using string builder for serialzation to improve performance. 2018-05-12 11:29:38 -05:00
ProSavage
d95c80ae5b 1.4-STABLE
------------------------------------------------------------------
No Enderpearls in fly fixed - The option was bugged, so if it was true it would do the opposite.
Improved /f map visuals and title!
Title fadeout time, showtime, and fadeintime options added for 1.9+ servers
Fixed Bug in /f upgrades where the slots option for exp would move the spawner instead.
Added Faction chest, an upgradable shared "enderchest" for factions to share!
Added some more entries into /f help in config.
Added Upgrade for faction chest
Banner pattern storage
------------------------------------------------------------------
2018-05-11 17:47:58 -05:00
ProSavage
f30cd44b54 1.3-STABLE
------------------------------------------------------------------
1.7 Support Added
- Titles disabled in 1.7
- Banners disabled in 1.7
- Itemflags disabled in 1.7 for /f warp, /f perms, and /f upgrades
/f perms GUI has been redesigned ( Reset your config.yml or Change it from the config differences )

Reset conf.json for the following.
Default color for members set to light green ( &a )
Default color for wilderness set to gray ( &7 )
------------------------------------------------------------------
2018-05-03 09:03:16 -05:00
Naman
6bf4598d57 1.2-STABLE
/f tntfill wont spam chat anymore,
I changed the tntfill_success option, so you're gonna wanna delete that to rengerate it. If you havent edited the lang.yml just delete it and restart
/f stuck wont tp players outside the border anymore.
Nametags & Tab has placeholderapi support added
use {relationcolor} and {faction} for relational color and faction ( These were already built in )
They can be edited in the lang.yml the option is default_prefix.
/f perms now has tntfill, tntbank, and vault permission options
2018-04-24 19:32:26 -05:00
Naman
ba9b3587e0 1.1.1-STABLE
/f coords - displays your coords and current world to your faction
/f showclaims - Lists all your claims in every world
/f lowpower - lists players with power under max
/f tntfill <radius> <amount> - fills tnt in a radius and amount, hooks into /f tntbank if you're a mod or higher.

Some of these commands require permissions please see the permissions page here
https://www.prosavage.net/wiki/permissions
2018-04-17 20:06:14 -05:00
Naman
aa4bbb3895 1.1.1-STABLE
/f coords - displays your coords and current world to your faction
/f showclaims - Lists all your claims in every world
/f lowpower - lists players with power under max
/f tntfill <radius> <amount> - fills tnt in a radius and amount, hooks into /f tntbank if you're a mod or higher.

Some of these commands require permissions please see the permissions page here
https://www.prosavage.net/wiki/permissions
2018-04-17 20:01:53 -05:00
Naman
175a4a6a12 1.1-RELEASECANDIDATE-2
Scoreboard bug fixed
inspect message disable fixed
2018-04-13 21:31:37 -05:00
Naman
e36927db9f 1.1-RELEASECANDIDATE-1
Made the particles in /f fly more cloud like
Changed wilderness color to Darkgreen
Added a factionless check to inspect, so itll now disable the when you try to check with no faction.
Inspect will disable upon entering combat
You cannot claim outside the worldborder anymore, the chunkbuffer is taken into account.
Particles WILL NOT appear in /vanish and in spectator mode
2018-04-13 21:05:43 -05:00
Naman
efee66071b 1.0.23
configurable enemy check radius for fly, option added in conf.json
Added a system faction check to neutral
Added a enderpearl disable while flying option to conf.json
Added my own repository to maven along with coreprotect for shading.
--Factions Inspect Added--
2018-04-08 22:13:41 -05:00
Naman
76d1bc0e9b SavageFactions 1.0.23
Ability to remove items from main menu in perms for choosing roles/relations by setting the slot to -1
Changed placeholder identifier back because hooks in many plugins broke :(
Removed debug message from warzone fly.
Changed public modifiers on relation back, as they broke the method signature.
2018-04-07 16:31:13 -05:00
Naman
f1bfe2e8c4 SavageFactions 1.0.21-BETA-3
Tweaked fly disabler, hitting mobs wont disable it.
Fly bypass permisssions logic redone
issues with safezone fly and warzone fly fixed
Fixed click to claim in f map
Changed tooltips ot one line in map because of heavy load in areas with lots of claims
option to disable banners
Kicking throwing error cause of typo in lang file.
Tnt Bank limit added.
2018-04-03 22:20:30 -05:00
Naman
009e3e715c SavageFactions 1.0.21-BETA-2
Fixed tnt message
New message for fly disable to show cooldown
Started on remaking lang file
fly will not disable when an ally, truce, or faction member hits you.
Role prefix value added to placeholderapli class
changed identifier for placeholderapi
Made 1.7 detection
Placing blocks wont throw errors anymore in 1.7.
2018-04-03 09:38:11 -05:00
Naman
12b9f94fe4 removed the iterator in fly checks.
...
2018-04-01 09:13:23 -05:00
Naman
21587db74d Iterator Fix in Fly to avoid concurrent exceptions
1.12 particle support
2018-03-31 11:46:37 -05:00
Naman
e14af238bf SavageFactions 1.0.21
fixed this error (https://pastebin.com/4gtiQPYX)
 fixed damage bug (https://pastebin.com/56JHiPYt)
 fixed (https://prnt.sc/iy4l7q) (( I think I did, I could not replicate it ))
 Added methods to check if players can fly in claim types e.g.
 "if (fplayer.canflyinsafezone()){
 //do stuff
 }"
 Autofly now enables if you have bypass permissions.
 Fixed faction members, truces, and allies being able to hit each other and disable fly
 Fixed Autofly's enable message spamming multiple times if fly is already on.
2018-03-30 21:22:06 -05:00
Naman
cdf870b782 Added Invalid Location to checkpoint
Fixed Checkpoint cooldown
Made it so you have to buy vaults from /f getvault, and buy banners from /f banner
Particle based seechunk that works when moving between chunks
Particle support for 1.7-1.12
Made fly particles mode subtle
2018-03-28 19:33:10 -05:00
Naman
3d2bf73497 Option to remove permissions from perm gui.
bStats tracking
Admins are demoted coleaders instead of mods
Changed fly for loop to iterator to avoid concurrent exceptions
2018-03-27 08:17:55 -05:00
Naman
b92202e86b Promote, kick, and admin command bugs fixed. 2018-03-26 18:42:26 -05:00
Naman
44b3de91dd adding new stuff 2018-03-26 16:43:15 -05:00
Trent Hensler
1567df7311 If f perm is not set or undefined, allow server owners to define default f fly access in the conf.json. Adds #1100 2018-03-20 19:19:24 -07:00
Trent Hensler
a45833944b Allow warzone and safezone to be colored in f map 2018-03-19 23:00:47 -07:00
Trent Hensler
55c546e951 Remove debug 2018-03-18 20:38:59 -07:00