Skip to content

A plugin protects chunks from players. Depend on HolographicDisplay, Vault

Notifications You must be signed in to change notification settings

SalkCoding/TunaLands

Repository files navigation

TunaLands

Developing environment

  • IntelliJ IDEA 2023.1.1
  • Runtime version: 17.0.6+10-b829.9 amd64
  • Kotlin 1.8.20
  • Gradle 7.2

Testing environment

Dependencies

Data format

Configuration format(YMAL)

serverName: "lobby"

protect: # Tick
  coreBlock: "DIAMOND_BLOCK" #Not ID, But Material
  createPrice: 10

flag:
  price:
    takeProtectFlagPrice: 10
    releaseProtectFlagPrice: 5
    activePrice:
      - chunk: 0
        price: 0

      - chunk: 1
        price: 10

      - chunk: 5
        price: 15

      - chunk: 10
        price: 30

    takeFarmFlagPrice: 10
    releaseFarmFlagPrice: 5
  farm:
    limitFarmOccupied: 10

fuel:
  defaultFuel: 3600
  price: 10.0
  fuelRequirements:
    # Recommended secondsPerFuel: above 0
    # Only double type can read
    - numOfMembers: 1
      secondsPerFuel: 0.5

    - numOfMembers: 2
      secondsPerFuel: 1.0

    - numOfMembers: 5
      secondsPerFuel: 6.0

    - numOfMembers: 7
      secondsPerFuel: 10.0

recommend: # Tick
  reset: 1728000
  cooldown: 1728000

command:
  cooldown: #Tick
    rejoin: 5184000 #3d
    visit: 100 #5s
    spawn: 100 #5s
  price:
    setSpawnPrice: 10
    renamePrice: 10

limitWorld:
  - world_nether
  - world_the_end

Save format(Json)

{
    "ownerName": "Salk_Coding",
    "ownerUUID": "24c186ac-b905-4b6e-9f96-0ad0744df901",
    "enable": true,
    "open": false,
    "landList": [
        "1:1",
        "1:2"
    ],
    "landHistory": {
        "visitorCount": 0,
        "createdMillisecond": 1609665486838
    },
    "core": {
        "world": "world",
        "x": 271,
        "y": 75,
        "z": 15
    },
    "memberSpawn": {
        "world": "world",
        "x": 271,
        "y": 75,
        "z": 15
    },
    "visitorSpawn": {
        "world": "world",
        "x": 271,
        "y": 75,
        "z": 15
    },
    "lore": [
        "Salk_Coding의 땅입니다.",
        "ㅎㅇ",
        "ㅂㅇ"
    ],
    "welcomeMessage": [
        "Salk_Coding의 땅입니다.",
        "ㅎㅇ",
        "ㅂㅇ"
    ],
    "memberMap": [{
        "uuid": "24c186ac-b905-4b6e-9f96-0ad0744df901",
        "rank": "OWNER",
        "joined": 1609665486838,
        "lastLogin": 1609665486838
    }],
    "banMap": [{
        "uuid": "532127a2-8d7a-48b1-9719-12ad8032d8a0",
        "banned": 1609665486838
    }],
    "visitorSetting": {
        "canPVP": false,
        "breakBlock": false,
        "placeBlock": false,
        "canHurt": false,
        "pickupExp": false,
        "pickupItem": false,
        "dropItem": false,
        "openChest": false,
        "eatCake": false,
        "useCircuit": false,
        "useLever": false,
        "useButton": false,
        "usePressureSensor": false,
        "useDoor": false,
        "useTrapdoor": false,
        "useFenceGate": false,
        "useHopper": false,
        "useDispenserAndDropper": false,
        "useCraftTable": false,
        "useFurnace": false,
        "useBed": false,
        "useEnchantingTable": false,
        "useAnvil": false,
        "useCauldron": false,
        "useBrewingStand": false,
        "useBeacon": false,
        "useArmorStand": false,
        "canSow": false,
        "canHarvest": false,
        "canBreed": false,
        "useBucket": false,
        "useMilk": false,
        "throwEgg": false,
        "useShears": false,
        "useFlintAndSteel": false,
        "canRuinFarmland": false,
        "useMinecart": false,
        "canFishing": false,
        "useBoat": false,
        "canRiding": false,
        "useChestedHorse": false,
        "useLead": false,
        "breakItemFrame": false,
        "useNoteBlock": false,
        "useJukebox": false
    },
    "partTimeJobSetting": {
        "canPVP": false,
        "breakBlock": false,
        "placeBlock": false,
        "canHurt": false,
        "pickupExp": false,
        "pickupItem": false,
        "dropItem": false,
        "openChest": false,
        "eatCake": false,
        "useCircuit": false,
        "useLever": false,
        "useButton": false,
        "usePressureSensor": false,
        "useDoor": false,
        "useTrapdoor": false,
        "useFenceGate": false,
        "useHopper": false,
        "useDispenserAndDropper": false,
        "useCraftTable": false,
        "useFurnace": false,
        "useBed": false,
        "useEnchantingTable": false,
        "useAnvil": false,
        "useCauldron": false,
        "useBrewingStand": false,
        "useBeacon": false,
        "useArmorStand": false,
        "canSow": false,
        "canHarvest": false,
        "canBreed": false,
        "useBucket": false,
        "useMilk": false,
        "throwEgg": false,
        "useShears": false,
        "useFlintAndSteel": false,
        "canRuinFarmland": false,
        "useMinecart": false,
        "canFishing": false,
        "useBoat": false,
        "canRiding": false,
        "useChestedHorse": false,
        "useLead": false,
        "breakItemFrame": false,
        "useNoteBlock": false,
        "useJukebox": false
    },
    "memberSetting": {
        "canPVP": false,
        "breakBlock": false,
        "placeBlock": false,
        "canHurt": false,
        "pickupExp": false,
        "pickupItem": false,
        "dropItem": false,
        "openChest": false,
        "eatCake": false,
        "useCircuit": false,
        "useLever": false,
        "useButton": false,
        "usePressureSensor": false,
        "useDoor": false,
        "useTrapdoor": false,
        "useFenceGate": false,
        "useHopper": false,
        "useDispenserAndDropper": false,
        "useCraftTable": false,
        "useFurnace": false,
        "useBed": false,
        "useEnchantingTable": false,
        "useAnvil": false,
        "useCauldron": false,
        "useBrewingStand": false,
        "useBeacon": false,
        "useArmorStand": false,
        "canSow": false,
        "canHarvest": false,
        "canBreed": false,
        "useBucket": false,
        "useMilk": false,
        "throwEgg": false,
        "useShears": false,
        "useFlintAndSteel": false,
        "canRuinFarmland": false,
        "useMinecart": false,
        "canFishing": false,
        "useBoat": false,
        "canRiding": false,
        "useChestedHorse": false,
        "useLead": false,
        "breakItemFrame": false,
        "useNoteBlock": false,
        "useJukebox": false
    },
    "delegatorSetting": {
        "canSetVisitorSetting": false,
        "canSetPartTimeJobSetting": false,
        "canSetMemberSetting": false,
        "canSetSpawn": false,
        "canBan": false,
        "canSetRegionSetting": false
    }
}

About

A plugin protects chunks from players. Depend on HolographicDisplay, Vault

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages