Spigot Landlord 2 4.344

Protect land, protect animals, protect it all, with Landlord.

  1. downloaded from here :
    https://ci.princeps.biz/job/LandLord-latest/ (237)
    but when i start my server :

    [10:33:21 INFO]: [Landlord] Enabling Landlord v4.235
    [10:33:21 ERROR]: Error occurred while enabling Landlord v4.235 (Is it up to date?)
    java.lang.IllegalArgumentException: No enum constant biz.princeps.lib.manager.ConfirmationManager.STATE.CHAT GUI
    at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_212]
    at biz.princeps.lib.manager.ConfirmationManager$STATE.valueOf(ConfirmationManager.java:52) ~[?:?]
    at biz.princeps.landlord.ALandLord.setupPrincepsLib(ALandLord.java:130) ~[?:?]
    at biz.princeps.landlord.ALandLord.onEnable(ALandLord.java:50) ~[?:?]
    at biz.princeps.landlord.LandLord.onEnable(LandLord.java:32) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.14.2.jar:git-Paper-97]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338) ~[patched_1.14.2.jar:git-Paper-97]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:419) ~[patched_1.14.2.jar:git-Paper-97]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:464) ~[patched_1.14.2.jar:git-Paper-97]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:378) ~[patched_1.14.2.jar:git-Paper-97]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:465) ~[patched_1.14.2.jar:git-Paper-97]
    at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:280) ~[patched_1.14.2.jar:git-Paper-97]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:856) ~[patched_1.14.2.jar:git-Paper-97]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
    [10:33:21 INFO]: [Landlord] Disabling Landlord v4.235

    seems like its not updated
     
  2. Could you send me this line of your config ?

    Code (YAML):
    ConfirmationDialog:
     # Modes: CHAT GUI
      mode
    : value
    Thanks :)
     
  3. ConfirmationDialog:
    # Modes: CHAT GUI
    mode: CHAT
    # Timeout for chat based confirmation. The user has x seconds time to click the chat
    timeout: 10
    onNormalClaim: true
    onBuyUp: true
    multiClaim: true
     
  4. That doesnt matter. We have to increase the version in the plugin.yml manually and we sometimes forget to do this.
    Would you mind to put the config section from above into code blocks so we can see the indentation?
     
  5. oh sorry
    deleted the logs rn
    ill make a fresh install and try to replicate the error again
     
  6. redoawnload it again and all is working know
    thanks for replying so fast
    suggestion:
    can you add a economy for blocks?
    i mean block per price
     
  7. Glad it all worked out in the end.
    What exactly do you mean? Would you care to elaborate please?
    Aurelien and me are constantly trying to improve this plugin, so we would be glad to hear more about your suggestion.
     
  8. I mean adding an option
    Like :
    Price per Block = 5$

    Also when claiming a land , ability to set in the config, max height claim and min depth
    I dont want players building in to there claim lands up to 256 height and making holes under to bedrock .
    pls forgive me I'm spanish and my English is so poor
     
  9. Thanks you so much :giggle: thats work perfectly.(y)

    But I have found a config error :, the %var% of regen cost put in game manage %var%+%.
    e.g : %var% = 1000 ---> in game manage GUI menu we have "cost : $1000%
     
  10. Thanks, that one slipped through. its fixed in the 238+ :)
     
    • Like Like x 1
  11. Some other bug :c (yes I have found a lot sorry :ROFLMAO:)
    • /ll listfriends dondnt work
    • The list of friend's head in /ll manage
    • We can modify in colors the /landlordhelp manage setgreet (and the farewell) e.g : &aHello wlecome to my claim
    Thanks you again for all your work on this plugin (y).
     
  12. placeholders not working in featherboard
    {Placeholderapi_%ll_ownedlands%}
    {Placeholderapi_%ll_claims%}
    installed latest placeholder api
    any expansion ?
     
  13. also i think i saw a bug
    if your inside your claim and do /ll borders , when you leave the claim land , the borders will change its dirección
     
  14. Listfriends works again.
    What do you mean by friends head? What exactly doesnt work there?
    > We can modify in colors the /landlordhelp manage setgreet (and the farewell) e.g : &aHello wlecome to my claim
    That is a wanted feature!

    Also placeholders with featherboard should work now. However I have no way to test this, since it costs a shitton of money.

    Yea, this is exactly how its supposed to work :)
     
  15. if im inside my claimed land , i can put blocks outside the non claimed region
    is this a bug ?
     
  16. No. Check SecureWorld in case you wanna protect your world.
     
    • Like Like x 1
  17. Hi ! I have an issue with the economy side of the plugin, if a player as permission limit (claim) set to 20, and he as bought 10 claim he is able to claim until he reach 20 claim's (the permission limit) even if he has bought only 10 claims and not 20. Here is my config file :

    # ----------- General Stuff -----------
    # Available: FlatFile / MySQL
    # We highly recommend to use FlatFile. Please consider your use case.
    DatabaseType: FlatFile
    MySQL:
    Hostname: localhost
    Port: 3306
    Database: minecraft
    User: root
    Password: passy

    disabled-worlds:
    - world_nether
    - world_the_end
    - ressources

    language: en

    # amount of entries per page in the help menu
    HelpCommandPerSite: 10

    # Disables the warning for invalid world names on startup. Be careful!
    DisableStartupWorldWarning: false

    # ----------- Cost Stuff ------------
    # this formula uses limited growth. Cost will raise and raise until it reaches a certain point
    # you can play around with the formula here: https://www.geogebra.org/m/S6uSGV7c
    Economy:
    enable: true

    # Available are: LINEAR, EXPONENTIAL, LOGARITHMIC, SINUS, LIMITED
    Growth:
    function: LINEAR
    # x is the amount of owned lands!
    # Formula: minCost + multiplier * x
    LINEAR:
    minCost: 20.0
    multiplier: 2.0
    # Formula: minCost + multiplier * x ^ exponent
    EXPONENTIAL:
    minCost: 500.0
    multiplier: 1.0
    exponent: 2.0
    # Formula: minCost + multiplier * lg (b * x + c)
    LOGARITHMIC:
    minCost: 500.0
    multiplier: 1.0
    b: 1.0
    c: 1
    # Formula: minCost + multiplier * sin (b * x + c)
    SINUS:
    minCost: 500.0
    multiplier: 3.0
    b: 1.0
    c: 1.0
    # Formula: maxCost - ( maxCost - minCost ) * multiplier ^ x
    LIMITED:
    maxCost: 3000.0
    minCost: 500.0
    multiplier: 0.95

    # on unclaim, this percentage of the original price is paid back.
    Payback: 0.8
    # amount of free lands every user got before he has to pay
    Freelands: 10
    # cost for regenerate inside ll manage
    ResetCost: 1000.0

    # here you can manage your claims shop.
    Claims:
    # set this to false, if you want to use the traditional permission based system
    # if this is true, a player will still need the limit permissions (see below) to be able to buy claims.
    enable: true
    # amount of free claims a user should be able to receive for free.
    free: 10
    calc:
    function: LINEAR
    # x is the amount of owned claims (/ll claims)!
    # Formula: minCost + multiplier * x
    LINEAR:
    minCost: 20.0
    multiplier: 2.0
    # Formula: minCost + multiplier * x ^ exponent
    EXPONENTIAL:
    minCost: 500.0
    multiplier: 1.0
    exponent: 2.0
    # Formula: minCost + multiplier * lg (b * x + c)
    LOGARITHMIC:
    minCost: 500.0
    multiplier: 1.0
    b: 1.0
    c: 1
    # Formula: minCost + multiplier * sin (b * x + c)
    SINUS:
    minCost: 500.0
    multiplier: 3.0
    b: 1.0
    c: 1.0
    # Formula: maxCost - ( maxCost - minCost ) * multiplier ^ x
    LIMITED:
    maxCost: 3000.0
    minCost: 500.0
    multiplier: 0.95

    locationFormat: '%world% - (%x%|%z%)'
    # These are hard caps. If a player has the permission "landlord.limit.10" he will be able to buy up to 10 lands.
    # define all the landlord.limit.x permissions you wanna use here in this list.
    # Please sort the entries ascending!
    limits:
    - 10
    - 15
    - 20
    - 25
    - 30
    - 35
    - 40
    - 45
    - 50
    - 55
    - 60
    - 65
    - 70
    - 75
    - 80
    - 85
    - 90
    - 95
    - 100

    # Secures the world in which landlord is active. This means, players wont be able to destroy anything in free lands
    SecureWorld:
    enable: true
    # If player reach this treshold (amount of ownedlands) they will be able to build in the normal world)
    # This way you can allow your veteran players to be able to build pathes and commonly used stuff in the world, but prevent newbies from griefing
    threshold: 20
    # Where to display the warning that you are not to allowed in free lands until x lands has been reached: ActionBar, Chat, Title, Disabled
    displayWarning: Title

    Homes:
    enable: false
    # enable to this to automatically set home on claim, when the user doesnt have a previous home
    enableAutoSetHome: false
    teleportCost: 100.0

    # This option allows players to buy up the lands of players, who are not playing actively any longer
    BuyUpInactive:
    enable: false
    # amount of days until a player is marked as "inactive" and his lands may be bought up
    timegate: 30

    # Where should the "Entering XXX's land" be displayed? Available are ActionBar, Chat, Title, Disabled
    LandMessage: Title

    ConfirmationDialog:
    # Modes: CHAT GUI
    mode: CHAT
    # Timeout for chat based confirmation. The user has x seconds time to click the chat
    timeout: 10
    onNormalClaim: true
    onBuyUp: true
    multiClaim: true

    # You can enable/disable the particles for particular events here
    Particles:
    claim:
    enabled: true
    particle: VILLAGER_HAPPY
    unclaim:
    enabled: true
    particle: VILLAGER_ANGRY
    info:
    enabled: true
    unclaimed: DRIP_LAVA
    claimed: DRIP_WATER
    inactive: DRIP_LAVA
    borders:
    enabled: true
    particle: DRIP_LAVA

    # ----------- Map Stuff ------------
    Map:
    enable: true
    # Refreshrate in Ticks. 20 ticks is equal to one second. The lower you set the value the more laggy it might be
    refreshRate: 10

    Borders:
    # show the chunkborders with particles
    enable: true
    # interval in seconds
    refreshRate: 10
    # timeout value in seconds. after this amount the map will be turned off again
    timeout: 600

    CommandSettings:
    Main:
    name: landlordhelp
    description: The basic command, /llhelp
    usage: 'Usage: /llhelp'
    enableMissingStringWarning: true
    permissions:
    - landlord.use
    aliases:
    - ll
    - land
    - landlord
    - gs
    - llhelp

    Claim:
    enableDelimit: true
    # set this to false, if you want the delimitation to be placed physically in the world
    enablePhantomBlocks: true
    # Newly claimed lands are delimited by this material. Example below should be self explanatory
    delimitation:
    - 'define: x=GLOWSTONE'
    - 'x--------------x'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - '----------------'
    - 'x--------------x'
    # When a player does not own any lands, he may claim any free chunk. later only adjacent chunks
    claimOnlyAdjacent: true
    # If this is enabled, there must be one free chunk between two different owners. See https://tinyurl.com/y8xzelga
    needsGapBetweenOwners: false
    # allow to claim a land when there is already another worldguard region
    allowOverlap: false

    name: claim
    usage: 'Usage: /land claim'
    permissions:
    - landlord.player.own
    aliases:
    - buy
    - cl

    MultiClaim:
    name: multiclaim
    usage: 'Usage: /land multiclaim <option> <parameter>'
    permissions:
    - landlord.player.multiclaim
    aliases:
    - mc
    - mcl

    Info:
    name: info
    usage: '/land info - Shows information about the land you are standing on'
    permissions:
    - landlord.player.info
    aliases:
    - i

    Unclaim:
    name: unclaim
    usage: '/land unclaim - Unclaim the chunk you are standing on'
    permissions:
    - landlord.player.unclaim
    aliases:
    - sell

    UnclaimAll:
    name: unclaimall
    usage: '/land unclaimall - Unclaims all your lands'
    permissions:
    - landlord.player.unclaim
    aliases:
    - sellall

    Listfriends:
    name: listfriends
    usage: '/land friends - Shows all friended players'
    permissions:
    - landlord.player.own
    aliases:
    - friends
    - fr

    Addfriend:
    name: addfriend
    usage: '/land addfriend - Adds a friend to your land'
    permissions:
    - landlord.player.own
    aliases:
    - friendadd
    - addmember

    RemoveFriend:
    name: removefriend
    usage: '/land unfriend - removes a friend from your land'
    permissions:
    - landlord.player.own
    aliases:
    - unfriend
    - friendremove
    - frienddelete
    - deletefriend
    - removefriend

    AddfriendAll:
    name: addfriendall
    usage: '/land addfriendall - Adds a friend to all of your lands'
    permissions:
    - landlord.player.own
    aliases:
    - friendaddall
    - addmemberall
    - friendall

    RemovefriendAll:
    name: removefriendall
    usage: '/land removefriendall - unfriend someone on all your lands'
    permissions:
    - landlord.player.own
    aliases:
    - unfriendall
    - removeallfriends

    ListLands:
    name: list
    usage: '/land list - lists all your lands'
    permissions:
    - landlord.player.own
    aliases:
    - listlands
    - landlist
    enable: true
    # gui or chat
    mode: gui
    # How many lands should be displayed per page?
    landsPerPage: 15

    Map:
    name: map
    usage: '/land map - toggles the landmap'
    symbols:
    background1: '▓'
    background2: '▒'
    middle: '█'
    arrow: '∞'
    yours: '█'
    friends: '█'
    others: '█'
    permissions:
    - landlord.player.map
    aliases:
    - landmap

    Clear:
    name: clear
    usage: '/land clear - clear a world'
    permissions:
    - landlord.admin.clearworld
    aliases:
    - clearworld

    Manage:
    name: manage
    usage: '/land manage - manages the land you are standing on'
    permissions:
    - landlord.player.manage
    aliases:
    - mgn

    ManageAll:
    name: manageall
    usage: '/land manageall - manages all your lands at the same time'
    permissions:
    - landlord.player.manage
    aliases:
    - mall

    Update:
    name: update
    usage: '<-r> - updates all lands in one world. Parameter -r forces to reset all lands to their default state'
    permissions:
    - landlord.admin.update
    aliases:
    - upd

    Shop:
    name: shop
    usage: '/land shop - displays the land shop'
    permissions:
    - landlord.player.shop
    aliases:
    - claimshop

    Reload:
    name: reload
    usage: '/land reload - THIS IS NOT RECOMMENDED!!!'
    permissions:
    - landlord.admin.reload
    aliases:
    - rl

    Claims:
    name: claims
    usage: '/land claims - shows the amount of your claims'
    permissions:
    - landlord.player.shop
    aliases:
    - clms

    Sethome:
    name: sethome
    usage: '/land sethome - sets your current land home'
    permissions:
    - landlord.player.home
    aliases:
    - homeset

    Home:
    name: home
    usage: '/land home teleports you to your home'
    permissions:
    - landlord.player.home
    aliases:
    - h

    GiveClaims:
    name: giveclaims
    usage: '/land giveclaims <amount> - give claims to yourself|/land giveclaims <name> <amount> - give claims to somebody else|/land giveclaims <name> <price> <amount> - gives claims to somebody and take money for it'
    permissions:
    - landlord.claims.give
    aliases:
    - gcl

    Advertise:
    name: advertise
    usage: '/land advertise <price> |/land advertise <landName> <price>'
    permissions:
    - landlord.player.advertise
    aliases:
    - adv

    RemoveAdvertise:
    name: removeadvertise
    usage: '/land removeadvertise'
    permissions:
    - landlord.player.advertise
    aliases:
    - remadv
    - remadvertise

    Borders:
    name: borders
    usage: '/land borders'
    permissions:
    - landlord.player.borders
    aliases:
    - toggleborders

    AdminTP:
    name: admintp
    usage: '/land admintp <name> - teleports to the land of a player'
    permissions:
    - landlord.admin.admintp
    aliases:
    - adminteleport

    MAItem:
    name: item
    usage: '/land item <name> - gives the player the managementitem'
    permissions:
    - landlord.player.item
    aliases:
    - maitem



    # define your default flags here. Every flag will be manageable in ll manage
    # Construction of a new Flag:
    # flag defaultState:toggleableState
    # You can also set specific groups: e.g. interact allow all:deny non_members
    # this allows toggling the flagstate between allowing interaction for everyone and just allow oweners and members
    # if you are adding a new flag, you must implement the necessary strings in the language file! Just copy paste it from an existing flag.
    Flags:
    - 'interact'
    - 'chest-access'
    - 'creeper-explosion'
    - 'pvp'
    - 'build'
    - 'damage-animals'
    - 'ride'
    - 'frosted-ice-form'
    - 'block-trampling'
    - 'potion-splash'
    - 'pistons'


    MaItem:
    enabled: false
    item: STICK
    # define your modes of operation here.
    # Syntax: clickaction:condition:whatshouldhappen
    # Available actions:
    # - leftclickblock, leftclickair, shiftleftclickblock, shiftleftclickair (same for right obv)
    # Available conditions:
    # - ownland, otherland, anyland
    # Available whatshouldhappen:
    # - info, buy, manage, manageall, togglemap, toggleborders
    modes:
    - 'rightclickblock:anyland:info'
    - 'leftclickblock:anyland:buy'
    - 'shiftrightclickblock:eek:wnland:manage'
    - 'shiftleftclickblock:eek:wnland:manageall'
    - 'rightclickair:anyland:togglemap'
    - 'leftclickair:anyland:toggleborders'

    # These options will be manageable in ll manage
    Manage:
    friends:
    enable: true
    regenerate:
    enable: false
    item: BARRIER
    setgreet:
    enable: true
    item: BAKED_POTATO
    setfarewell:
    enable: true
    item: CARROT_ON_A_STICK
    damage-animals:
    enable: true
    item: LEGACY_RAW_FISH
    ride:
    enable: true
    item: SADDLE
    frosted-ice-form:
    enable: true
    item: ICE
    block-trampling:
    enable: true
    item: DIAMOND_HOE
    potion-splash:
    enable: true
    item: SPLASH_POTION
    pistons:
    enable: true
    item: STICKY_PISTON
    unclaim:
    enable: true
    item: BLAZE_POWDER
    build:
    enable: true
    item: GRASS
    interact:
    enable: true
    item: STONE_BUTTON
    chest-access:
    enable: true
    item: CHEST
    creeper-explosion:
    enable: true
    item: TNT
    pvp:
    enable: true
    item: DIAMOND_SWORD
    mob-spawning:
    enable: true
    item: LEGACY_MONSTER_EGG
    # If you dont want your users to manage a specific mobspawn, just comment out the line with #
    toggleableMobs:
    - ELDER_GUARDIAN
    - WITHER_SKELETON
    - STRAY
    - HUSK
    - ZOMBIE_VILLAGER
    - SKELETON_HORSE
    - ZOMBIE_HORSE
    - DONKEY
    - MULE
    - EVOKER
    - VEX
    - VINDICATOR
    - CREEPER
    - SKELETON
    - SPIDER
    - ZOMBIE
    - SLIME
    - GHAST
    - PIG_ZOMBIE
    - ENDERMAN
    - CAVE_SPIDER
    - SILVERFISH
    - BLAZE
    - MAGMA_CUBE
    - BAT
    - WITCH
    - GUARDIAN
    - PIG
    - SHEEP
    - COW
    - CHICKEN
    - SQUID
    - WOLF
    - OCELOT
    - HORSE
    - RABBIT
    - POLAR_BEAR
    - LLAMA
    - PARROT
    - VILLAGER
    - TURTLE
    - PHANTOM
    - COD
    - SALMON
    - PUFFERFISH
    - TROPICAL_FISH
    - DROWNED
    - DOLPHIN
    - CAT
    - TRADER_LLAMA
    - WANDERING_TRADER
    - PANDA
    - PILLAGER
    - RAVAGER
    - FOX


    # Sorry for the opt-out, I don't really like that. I would not opt-out for something more important. This data keeps me motivated :)
    EnableMetrics: true
    checkUpdatesPeriodically: true
    checkUpdateOnStart: true
    version: 25
     
  18. Good catch, should be fixed in b240+. Thanks for the report!

    EDIT: something's wrong with jenkins, brb
    EDIT2: its fine, no idea why b240 failed.
     
    #619 SpatiumPrinceps, Jun 25, 2019
    Last edited: Jun 25, 2019
    • Like Like x 1
  19. I have just tested the latest dev build (#241) it's working perfectly no new issue discovered ! Thank you for fast fix :)