Dragon Cancel icon

Dragon Cancel -----

Here Be No Dragons



#cancelled

If you're a server owner looking to take back The End for your own purposes, nefarious or otherwise, then you've come to the right place. No more will that pesky dragon bother you or your creations in The End, or any other world you choose.

How it works:

Dragon Cancel takes advantage of the NBTAPI provided by the lovely tr7zw to edit the level.dat file contained in any existing world folder you've specified

Specifically, it changes the value of PreviouslyKilled to true, so that when a player is teleported to The End for the first time, the dragon and its portal does not spawn. It will also quite literally cancel any attempts at the Enderdragon EntitySpawnEvent in that world.​

Before
[​IMG]
The Ender Dragon spawns in the End with its bedrock portal, and the health bar at the top of the screen shows its health (not depicted).


After
[​IMG]
Because DragonCancel changes a value in the world file, the Ender Dragon cannot spawn, and neither does the bedrock portal. Not advised for survival worlds.

Really, it's that easy.

The best part is that this will continue to work even if you remove the plugin from your server (although, it will only cancel new spawns in worlds added to the config while the plugin is loaded).

Instructions:

1. Create the world you want to cancel the dragon in.
2. Stop the server.
3. Add the Dragon Cancel plugin to your server.
3. Add the exact name of the world folder to the config.yml file (you can create it, see example config below). Be sure to add quotes around it, and if you're cancelling multiple worlds, separate each entry with a comma.
4. Start your server.

Caveats:

The plugin will work on any worlds that are in the root server folder. However, it will not work on worlds that are created after the server is started.

The world that you want to cancel the dragon in MUST be created and exist first. It cannot create the level.dat for you.​

Example:
config.yml in plugins/dragonCancel

worlds: ["world_the_end", "spawn"]


- world_the_end - The End, where the dragon naturally no longer spawns.
- spawn - The Overworld, for if you don't want a dragon to be able to spawn there (for whatever reason).

Please ask for support with issues either in the Discussion tab at the top of the resource page, or join the Discord server.
Resource Information
Author:
----------
Total Downloads: 121
First Release: Oct 24, 2023
Last Update: Oct 24, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings