fix naming to persistentspawn

This commit is contained in:
2026-01-04 14:54:19 +01:00
parent 7ff811cb97
commit fb5aeba4f1
4 changed files with 17 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
A very simple mod that implements the functionality of spawning a player at the same location on every join.
## Commands
* `/setpersistentspawn` `<position> <dimension>` - Set the persitent spawn location and dimension.
* `/setpersistentspawnenabled` `<enabled>` - Enable or disable the persistent spawn.
## Config
The config is stored in `config/persistentspawn.toml`.
* `x` - The x coordinate of the spawn location.
* `y` - The y coordinate of the spawn location.
* `z` - The z coordinate of the spawn location.
* `dimension` - The dimension of the spawn location.
+2 -2
View File
@@ -6,7 +6,7 @@ loader_version=0.18.4
loom_version=1.14-SNAPSHOT
mod_version=1.0.0
maven_group=nl.getagripgal.spawnonjoin
archives_base_name=spawnpointonjoin
maven_group=nl.getagripgal.persistentspawn
archives_base_name=persistentspawn
fabric_api_version=0.140.2+1.21.11
@@ -18,7 +18,7 @@ import com.mojang.brigadier.arguments.BoolArgumentType;
* the same location on every join.
*/
public class PersistentSpawn implements ModInitializer {
public static final String MOD_ID = "spawnpointonjoin";
public static final String MOD_ID = "persistentspawn";
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
@Override
@@ -18,7 +18,7 @@ public class PersistentSpawnManager {
/**
* The config file path.
*/
public static final String CONFIG_FILE = "config/spawnpointonjoin.toml";
public static final String CONFIG_FILE = "config/persistentspawn.toml";
/**
* The currently registered spawn position.