UnexpectedSpawn | Randomize Player Spawn! icon

UnexpectedSpawn | Randomize Player Spawn! -----

Simple plugin to randomize player spawn point




What's Changed
Added requested features, updated project structure, and cleaned some codes

[New Config] (No need to re-generate new config file)
- Only "version:x.y.z" is added in config for future debugging.
(you can manually add it by copy-pasting from config in README.md file)

[New Feature]
- Added 2 more permissions nodes ("unexpectedspawn.use.reload" and "unexpectedspawn.use.randomtp")
- Added permission to default command in plugin.yml so normal players won't access tab-complete commands if they don't have the required permission
- Added 2 more commands "/uns help <subcommand>" and "/uns randomtp <args>"

[Bug Fix/Update]
- Firstly, changed from the original package name to the new one since Shivelight domain was down. ("id.shivelight.paper.unexpectedspawn" is now "com.github.deathgod7.unexpectedspawn")
- Secondly, rewrote the codes to be clean and nice... (Moved a bunch of stuff from events class to utils class)
- Thirdly, bumped the version from 0.3.1 => 1.0.0 (The first major version release as it's stable enough) and we will be following the SemVer version style
- Migrated the Reload.java class to new MainCommand.java and added CommandHandler.java to make it easy to add more commands in the future if needed
- Migrated the Spawn.java class to new EventHandler.java as a part of making it "nice"
- Random respawn in Nether works correctly for both the respawn/join event and the rtp command now.
- And some humor in debug logs as well as minor license info changes


Full Changelog : 0.3.1 -> 1.0.0
----------, Oct 13, 2023

What's Changed
Added requested features and updated paper API plus fixed some minor bugs.

[New Config] (Old config needs to be deleted to generate new one)
- added failure radius with customizable feature (currently limited the numbers of tries to 5000 minimum before it adds failure radius can be made customizable or increased or decreased or used internally)

[New Feature]
- added invert spawn blacklist (as requested by haha44444)
( also this may cause an error if only 5-10 blocks are there in the 400x400 area of the spawn area and it will continue to look for that block infinitely. so to fix that added a failure radius and specified a point where it will use the failure radius in search. and also added an upper limit (10,000 tries) for random spawn searchers where the player will be teleported to the spawn point of the world.)

[Bug Fix/Update]
- fixed/removed the adventure native chat formatter as it wasn't used much. Added ChatColor (legacy method. supposed to work in all Minecraft versions)
- added more debuggers to the plugin so it's easier to debug when an error comes up.


Update 0.3.1 : https://github.com/DeathGOD7/unexpectedspawn-paper/pull/15
Full Changelog : https://github.com/DeathGOD7/unexpectedspawn-paper/compare/0.3.0...0.3.1
----------, Jun 23, 2023

If you are on Paper ≥ 1.16.5 or any platform listed here https://docs.adventure.kyori.net/platform/native.html, please use 0.3.0.
----------, Aug 20, 2021




NOTE: You may need to remove old config before installing this.

Re-written since the source code is missing.
  • Nether / The End respawn bug fixed.
  • Command and permission changed.
  • Also open source.
Tested on 1.14.4 Spigot and Paper.
----------, Aug 16, 2019

Resource Information
Author:
----------
Total Downloads: 6,749
First Release: Dec 2, 2016
Last Update: Oct 13, 2023
Category: ---------------
All-Time Rating:
11 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings