Upload
This commit is contained in:
24
src/main/java/org/lunamc/letthemeatcake/LetThemEatCake.java
Normal file
24
src/main/java/org/lunamc/letthemeatcake/LetThemEatCake.java
Normal 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
|
||||
}
|
||||
}
|
||||
16
src/main/java/org/lunamc/letthemeatcake/PointsManager.java
Normal file
16
src/main/java/org/lunamc/letthemeatcake/PointsManager.java
Normal 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<>();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user