Giter Club home page Giter Club logo

spawn's Introduction

Modrinth Downloads Spigot Downloads Hangar Downloads GitHub Downloads

GitHub release (with filter) Minecraft Versions Java

Spawn

Yet another Spawn plugin with many configurable options.

Features

  • You can set a Spawn and teleport to it (duh)
  • Teleport to Spawn...
    • ...on join / only on first join
    • ...on death (bed / respawn anchor spawn-point can be ignored)
    • ...when falling into the void (void height is configurable)
    • ...on world change
  • Command cooldown
  • Teleport delay (with cancel on move / blindness effect)
  • Teleport another player to Spawn via command
  • Fall damage on teleport can be disabled
  • Particles & sound on teleport
  • Whitelist/Blacklist worlds to restrict the plugin's functionality
  • Restrict the usage to specific game modes
  • MiniMessage (only 1.18.2+ Paper based servers) and Legacy Formatting is supported
  • Everything can be edited, bypassed with permissions, or completely disabled

Documentation

All commands, permissions and configuration options are available on the GitHub Wiki.

Download

Plugin jars are available in the Releases section, on Modrinth, Spigot and Hangar.

github modrinth spigot hangar

Metrics

This plugin uses bStats to collect some (non-identifying) data about the servers it runs on. You can opt-out by editing the config.yml in the /plugins/bStats folder located in your server directory. (More information here)

bstats

spawn's People

Contributors

rockquiet avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

spawn's Issues

Error in PlayerRespawnEvent

Summary:
An error occurred while executing the PlayerRespawnEvent of the plugin. This resulted in an org.bukkit.event.EventException, which prevented the event handler from being executed properly. The error was caused by a java.lang.NoSuchMethodError exception, indicating that the method "isAnchorSpawn()" in the class org.bukkit.event.player.PlayerRespawnEvent could not be found. The error occurred in the class me.rockquiet.spawn.listeners.TeleportOnRespawnListener at line 49.

Details:
The error was logged in the server console as follows:

[00:15:04] [Server thread/ERROR]: Could not pass event PlayerRespawnEvent to Spawn v2.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched_1.8.8.jar:git-PaperSpigot-445]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.8.8.jar:git-PaperSpigot-445]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.8.8.jar:git-PaperSpigot-445]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.8.8.jar:git-PaperSpigot-445]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.PlayerList.moveToWorld(PlayerList.java:584) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.PlayerList.moveToWorld(PlayerList.java:523) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1420) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.PacketPlayInClientCommand.a(SourceFile:31) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.PacketPlayInClientCommand.a(SourceFile:8) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.8.8.jar:git-PaperSpigot-445]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_372]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_372]
	at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched_1.8.8.jar:git-PaperSpigot-445]
	at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched_1.8.8.jar:git-PaperSpigot-445]
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]
Caused by: java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerRespawnEvent.isAnchorSpawn()Z
	at me.rockquiet.spawn.listeners.TeleportOnRespawnListener.onRespawn(TeleportOnRespawnListener.java:49) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_372]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_372]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_372]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_372]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched_1.8.8.jar:git-PaperSpigot-445]
	... 18 more

To resolve the issue, please review the code in the class me.rockquiet.spawn.listeners.TeleportOnRespawnListener at line 49. It appears that there is an attempt to access the "isAnchorSpawn()" method of the class org.bukkit.event.player.PlayerRespawnEvent, which is not present. It's possible that the method was removed or renamed in a different version of Bukkit, leading to the NoSuchMethodError.

We recommend checking the plugin version and ensuring it is compatible with the version of Bukkit being used. Additionally, update the code in TeleportOnRespawnListener accordingly to accommodate any recent changes in Bukkit.

Add/indicate Minecraft 1.20.5/6 support

This plugin looks like exactly what I need. I'm assuming it doesn't work on 1.20.6 though, as most plugins broke. Could you please add support for it? Thank you for all your work on this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.