This commit is contained in:
2022-12-20 08:28:58 -05:00
parent ae49a7f21a
commit 6113228196
16 changed files with 514 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package org.lunamc.letthemeatcake;
import com.grinderwolf.swm.api.world.properties.SlimeProperties;
import com.grinderwolf.swm.api.world.properties.SlimeProperty;
import com.grinderwolf.swm.api.world.properties.SlimePropertyMap;
import com.grinderwolf.swm.api.world.properties.type.SlimePropertyString;
import org.bukkit.plugin.java.JavaPlugin;
public final class LetThemEatCake extends JavaPlugin {
@Override
public void onEnable() {
SlimePropertyMap propertymap = new SlimePropertyMap();
propertymap.setValue(SlimeProperties.SPAWN_X, 0);
propertymap.setValue(SlimeProperties.SPAWN_Y, 0);
propertymap.setValue(SlimeProperties.SPAWN_Z, 0);
}
@Override
public void onDisable() {
// Plugin shutdown logic
}
}

View File

@@ -0,0 +1,16 @@
package org.lunamc.letthemeatcake;
import org.bukkit.entity.Player;
import java.util.HashMap;
import java.util.Map;
public class PointsManager {
private Map<Player, Integer> playerPoints;
public PointsManager() {
playerPoints = new HashMap<>();
}
}