Sueta

PhantomSpawnControl [1.13.X - 1.14.X] [FREE]

2.1.1

Control when a phantom can spawn, GM Changes resets timer!

·Plugin
  1. 2.1.1latestPremium VersionOct 7, 2019
    Hey there, this will probably the last post of me for a long time. I decided to make PhantomSpawnControl premium for the following reasons: I developed PhantomSpawnControl since Aug 2018 and was more or less constantly giving support to all who where using the plugin. Even tho the usage & downloads went up I more and more disliked the fact that nearly no one (not even 0.1%!) had the courage to appreciate my work by leaving just one little review. Because it got more and more frustrating I decided to keep me motivated by making this plugin premium. The older versions will still be available here but there will be no further development nor bugfixes or support of any kind. In order to stress out that it is really all about giving and taking and to show my gratitude to those who did review my plugin in a reasonable way I added all of them manually as buyer so they can keep using updated versions of this plugin. So thank you @LadyRayvyn, @Minestick, @smellyonionman, @Draycia, @Kappable, @blackreaver, @ArZor for you shown support - I really appreciate it! Please let me make it clear that I do not want to discuss this topic. It was and is my decision. Here is a link to the premium version: https://www.spigotmc.org/resources/...-1-14-x-50-off-for-… And here is the changelog for v3.0.0 (premium): .SpoilerTarget">Spoiler: Changelog v3.0.0 Changelog v3.0.0: #Added: all messages send to players can now be customized. #Added: more caution on enable regarding "scoreboard"-NPEs. #Added: option to disable phantom spawning at all. #Added: spawn_cooldown option to configure how long no additional phantoms can spawn for a player after a spawn was successful. (suggested by @LadyRayvyn) #Added: check_air_spawnpoint to stop phantom spawning in blocks other than air. #Added: options to configure messages sent to players. #Added: several commands to edit giant_phantoms' stats. #Added: permissions phantomspawncontrol.cmd.add, phantomspawncontrol.cmd.remove, phantomspawncontrol.cmd.set. #Added: custom chart to bstats to see how many giant_phantoms are configured. #Changed: updated commons code to v1.5.0+ #Changed: updated Spigot API version to v1.14.4 #Changed: some console messages (including debug). #Changed: improved multi-version support. #Changed: data saving and loading. Old data most likely will not load! #Changed: player-file now gets deleted if phantom spawning is still enabled for this player. #Changed: reworked whole config for better readability and to simplify. I will try to not do this as drastic in the future. #Changed: Spawning algorithm runs for each world individually. This should even more prevent lag-spikes. #Changed: improved debug-mode. #Changed: renamed permission phantomspawncontrol.toggle to phantomspawncontrol.cmd.toggle #Changed: package hierarchy to fit common java conventions #Fixed: removed left over debug message (thanks to @seema) #Fixed: phantom target was not set correctly. #Removed: legacy mode because it just was not healthy anymore. #Removed: configurations regarding spawn_area. If you would like me to re-add it, please feel free to contact me. IMPORTANT: This update needs a config reset. So please move the file out of the plugin's folder in order to get recreated. (You might want to keep your old configurations for comparison) I will try to not do this as drastic in the future and apologize for any inconveniences. Best regards Alex_qp Regards, Alex_qp
    1 download
  2. 2.1.0Deleting of not needed files, BugfixJun 12, 2019
    Changelog v2.1.0: #Added: (maybe) reload functionality. #Added: playerdata-files with block=false will be deleted. (if player logs out) #Changed: shared code between different plugins is now imported with maven. #Changed: debugMode messages. #Changed: a lot of console messages. #Changed: illegal values in manual_spawn will be overwritten by default values (you will get informed in console). Therefore manual_spawn will not be disabled anymore. (for those cases) #Fixed: playerdata got lost if server stopped. (crashes will still produce data loss) #Fixed: MemoryLeak if save_playerdata was disabled. This update may not seem that big but I cleaned/changed up a lot of code and overall looked over every class. So please let me know if you encounter any problems. Best regards Alex_qp
    109 downloads
  3. 2.0.0Update to 1.14, BugfixJun 3, 2019
    Changelog v2.0.0: #Changed: Native Minecraft version to 1.14.2 #Changed: plugin is now using maven. #Fixed: bedSpawnProtectionRadius got bigger and bigger. With this update I refactored the whole plugin in order to use maven. This sets the foundation for mutli-version support. Also the plugin version number changed its nature: The first digit represents big version changes, the second small feature changes/bugfixes and the last will be used for minor bugfixes (like format fixes, chatmessages etc. nothing to be too concerned about) Best regards Alex_qp
    78 downloads
  4. 1.09Toggle CommandApr 30, 2019
    Changelog v1.09: #Added: Command /phantomspawncontrol with credits. #Added: Command /phantomspawncontrol help to see all available commands. #Added: Command /phantomspawncontrol toggle to toggle phantom spawning. #Added: Permission phantomspawncontrol.toggle which grants access to the toggle command. #Added: Toggle status gets saved after logout in pluginfolder/playerdata/uuid.yml for each player. #Added: Option to disable data loading/saving (save_playerdata in config). IMPORTANT: This update needs a slight addition to the current config. So please add the following code within the advanced section of the config file OR just move the file out of the plugin's folder in order to get recreated. (You can also just compare it to the config file shown in the plugin's main page) .SpoilerTarget">Spoiler: Code to add to config Code (YAML): save_playerdata : true Please note that reloading your server will reset all toggle-status for all online players. It will also be saved on logout as is if not changed. Also please consider reviewing the plugin. It really keeps me motivated and helps me improving. Best regards Alex_qp PS: @Kaleidox sorry for the long waiting, but there you go!
    135 downloads
  5. 1.08DebugMode, BugfixMar 11, 2019
    Changelog v1.08: #Added: Option to enable DebugMode. #Fixed: Problems when multiworld plugins were enabled afterwards. In order to be able to offer better plugin support I added an option to enable a hidden debug mode. Just add "debug=true" in the config and restart your server. If done correctly you will notice it immediately. Also please consider reviewing the plugin. It really keeps me motivated and helps me improving. Best regards Alex_qp PS: @Kappable there you go!
    173 downloads
  6. 1.07More Spawn-Options, Slight AdjustmentJan 26, 2019
    Changelog v1.07: #Added: Manual_spawn: Console error if no world is enabled. #Added: Manual_spawn: option to ignore certain solid blocks above a player. #Added: Manual_spawn: option to add none-solid blocks above a player to prevent spawning. #Added: Manual_spawn: option to disable block checks for certain worlds (by name or environment). #Changed: Manual_spawn: None normal worlds will be ignored by daytime-checks. IMPORTANT: This update needs editing to the current config. So please do the following OR just move the file out of the plugin's folder in order to get recreated. (You can also just compare it to the config file shown in the plugin's main page): 1) Remove no_solid_block_above_player in the section general_restrictions. 2) Add the following somewhere in the phantom_spawn section (preferably after world_restrictions): .SpoilerTarget">Spoiler: Code to add to config Code (YAML): # In this section you can define for what blocks above a player no phantom will spawn. # ignore_solid_blocks is to set blocks that are solid and should not cancel spawning. # add_blocks is to set blocks which will prevent spawning in all enabled worlds. # Note: You can find a list of all materials here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Mater… Do not use none-block materials! # ignore_solid_blocks spawn_blocks: no_solid_block_above_player : true enabled_environments: normal : true nether : false the_end : true disabled_worlds : # - ... ignored_solid_blocks : # - ... add_blocks : # - ... As you can probably tell with this update I wanted to give you the ability to make even preciser options regarding blocks above a player. Now it is possible to enable the nether without disabling the none-solid checks for every world for example. Of course you can achieve more than this example with the new added configuration options. Best regards Alex_qp
    164 downloads
  7. 1.06Bed-Spawn-ProtectionNov 30, 2018
    Changelog v1.06: #Added: Manual_spawn: Option to disable phantom spawning if the bedspawnlocation of a player is to close to him. (default radius: 100) IMPORTANT: This update needs a slight addition to the current config. So please add the following code within the phantom_spawn section of the config file OR just move the file out of the plugin's folder in order to get recreated. (You can also just compare it to the config file shown in the plugin's main page) .SpoilerTarget">Spoiler: Code to add to config Code (YAML): bed_protection: bed_spawn_not_near : true bed_spawn_protection_radius : 100.0 If you have any ideas for additional spawning conditions please let me know! Best regards Alex_qp
    147 downloads
  8. 1.05Manual Phantom SpawningNov 3, 2018
    Changelog v1.05: #Added: phantom_spawn mechanic to handle phantom spawning completely by the plugin. (enabled by default) #Added: various different spawning condition options in config. #Added: Option to enable/disable specific worlds or world environments (nether etc.) #Changed: MC version to 1.13.2 #Changed: Config comments. IMPORTANT: This update needs an addition to the current config. So please add the following code below the "gamemode_disable"-section of the config file OR just move the file out of the plugin's folder in order to get recreated. Please note that I also added a important note at the beginning of the explanations about legacy mode (see in spoiler) .SpoilerTarget">Spoiler: Code to add to config Code (YAML): # Manual Phantom Spawning Algorithm. Using this will disable natural phantom spawning done by the game. phantom_spawn: enable_manual_phantom_spawning : true general_restrictions: player_above_sea_level : true no_solid_block_above_player : true max_light_level : 7 max_group_size : 4 spawn_chance_multiplier : 1 world_restrictions: disable_day_worlds : true enabled_environments: normal : true nether : false the_end : false disabled_worlds : # - ... spawn_attempts: min_delay : 1200 max_delay : 2400 spawn_area: min_height : 20 max_height : 34 xz_plane_diameter : 19 .SpoilerTarget">Spoiler: Code to add to legacy mode explanations Code (YAML): # IMPORTANT: If you use the manual phantom spawning there is no need to bother about this section. The Plugin will spawn its own phantoms so there is no need for both of these variants. With this update I decided to handle the phantom spawning by the plugin. However if you do not want this to happen just disable it in the config (the plugin will work as in v1.4). But please note all the now changeable spawning conditions in addition to a more precise spawn detection of course. (The default settings mirror the default Minecraft spawning) Please also let me know if there are any performance issues. I decided me against a configurable delay between worlds for now but if there are problems with spawning all at once please let me know and I see what I can do! Well then, I hope you enjoy the plugin. I am pretty happy with the amount of servers using my plugin but would also appreciate some more ratings and suggestions for future updates (maybe some more spawning conditions?) Best regards Alex_qp PS: @schentuu there you go
    64 downloads
  9. 1.04Huge Update: Giant Phantoms, Permission, Legacy ModeOct 16, 2018
    Changelog v1.04: #Added: Explanations to config file. #Added: Permission phantomspawncontrol.stopspawn to stop phantom spawning. #Added: giant_phantoms mechanic to spawn different phantoms (size, speed, damage, health etc.) #Added: Configuration file for giant_phantoms mechanic #Added: Legacy Mode Option to re-enable the old spawn-detection (see config file for further explanation). #Added: colored console warning and error messages. #Changed: Some back-end mechanics involving spawn-detection (see config file for further explanation) #Changed: Improved legacy mode performance. IMPORTANT: This update needs an addition to the current config. So please add the following code at the bottom of the config file OR just move the file out of the plugin's folder in order to get recreated. .SpoilerTarget">Spoiler: Code to add to config Code (YAML): # For further explanations see below. advanced: use_legacy : false giant_phantoms : true # =========================================================== # Explanations about legacy mode: # =========================================================== # TL:DR none legacy mode is more precise but needs more time to remove the phantom. I would not recommend legacy mode especially if you disable spawning for a lot of players. # Normally the plugin will wait until the phantom chooses its first target and then either remove the phantom or (if giant_phantoms is enabled) apply different stats. # Legacy mode will detect any player near the spawn location of a phantom and check if there is someone who you do not want to be able to spawn phantoms. So this means one player is enough to disable phantom spawning around his location. However if all players around the phantom's spawn location have a greater score than max_ticks it will choose the lowest score in order to spawn the weakest phantom. (this is only relevant if giant_phantoms is enabled) # =========================================================== # Explanations about giant_phantoms: # =========================================================== # If giant_phantoms is enabled the plugin will create a configuration file in which you can configure this mechanic. # If you open the file you will find some suggestions created by me. The first section with "0:" is the default phantom as stated in the wiki. Let me split this up to make it as easy as possible to understand hopefully: # CONFIGURATION # I think most of the values are self explaining. The name of each section is the amount of no rest ticks needed beyond (!) max_ticks (top of this file). If the player has equal or greater no rest ticks than max_ticks + section-Name he/she will be able to spawn phantoms of that type. # IMPORTANT: All values except size have to be a double value, size must be an integer! (otherwise you will recieve a warning message in the console) # SPAWN CHANCES # I did not want the chances to be linear so I chose a different system, I will try to explain the system as good as possible in steps: # 1. No rest ticks of player must be above max_ticks + section-name # 2. For each additional tick above this value this phantom type will get one additional chance to spawn until the next higher phantom type is reached. # 3. At the end a phantom type will be chosen randomly in consideration of all "chance-points" # If you have a better idea on how to determine those chances, please let me know! # ADDITIONAL CREDITS # The idea for this feature is inspired by Xisumavoid's vanilla tweak data pack. Please let me know if there are any problems understanding the explanations I added in the config! I would highly appreciate some more ratings. Best regards Alex_qp
    51 downloads
  10. 1.03BugfixesOct 8, 2018
    Changelog v1.03: #Fixed: Bug which prevented phantoms to spawn if a player with a disabled gamemode was on the server. #Fixed: Complications with different worlds (please report if there are any more problems!) I would highly appreciate some first ratings. Best regards Alex_qp PS: Special thanks to @ArZor for reporting the problems with multiple worlds. PPS: I uploaded the wrong file at first. This is the right update.
    29 downloads
  11. 1.02Disable Specific Gamemodes, Small BugfixOct 2, 2018
    Changelog v1.02: #Added: feature to disable phantom spawning for players in specific gamemodes (default: creative, spectator). #Fixed: credit message in console. IMPORTANT: This update needs a slight addition to the current config. So please add the following code at the bottom of the config file OR just move the file out of the plugin's folder in order to get recreated. .SpoilerTarget">Spoiler: Code to add to config Code (YAML): # If set to true a player with the specific gamemode cannot spawn phantoms. gamemode_disable: adventure : false creative : true spectator : true survival : false I would highly appreciate some first ratings. Best regards Alex_qp PS: @Alfatossa There you go!
    23 downloads
  12. 1.01Update to MC 1.13.1Aug 28, 2018
    Changelog v1.01: The plugin was updated to MC version 1.13.1. I would highly appreciate some first ratings. Best regards Alex_qp
    28 downloads
  13. 1.0Aug 3, 2018
    25 downloads

Similar projects

Plugin →