[Script]Area Protection 3.0 NEW

    • Englisch
    • Jon_miner schrieb:

      What do you mean by make a new group? How would you give all players "Shopping" permission for instance without adding every player to an area one at a time?? And how would a new "visiting" player also get "Shopping" permission in an otherwise protected area? Looking to try and do a "community chest".
      under "AreaProtection/Groups" I guess.
      Click me for my steam profile
    • This does not help me with what I wish to do. The "Shopper" group is what I want to do for permissions. The part I am not sure how to do is assign "all users" to that group "setplayergroup <player> <group>" including any new visitors to the area. Maybe this is not really possible, but I thought there was a way to have a "community chest" in an otherwise protected area.

      Has anyone done this?
    • Jon_miner schrieb:

      This does not help me with what I wish to do. The "Shopper" group is what I want to do for permissions. The part I am not sure how to do is assign "all users" to that group "setplayergroup <player> <group>" including any new visitors to the area. Maybe this is not really possible, but I thought there was a way to have a "community chest" in an otherwise protected area.

      Has anyone done this?
      i think and its common is that your mixing up world permissions with the protection permissions to give a player a permission in a area all you need to do is make that area then add the user to that area with some sort of permission group setup, the script has some predefined ones like Shopper or Owner or Builder, if these don't match what your after then just make your own permission text file in the script and then add them to what ever the new name of your added file is.


      :thumbsup: Rising Citys @ ip 74.118.138.151:4265 ServerName (Yahgiggles Rising Citys) :thumbsup:

      If at first your code does not work call it version 0.1 with the odd bug :S
    • @yahgiggle no no what @Jon_miner said is exactly what we want to do and were wondering how to do it. To explain it a bit more:

      1) we have set up a world permission group called "visitor" for new players
      2) we want all visitors to be able to take things out of a chest which is inside a protected area (without us having to add them to it as they come online)
      3) we don't want visitors to be able to destroy the chests or otherwise damage the area

      This had been done in another server but noone remembers how it was done.
      Admin on Artisan's Realm
      Rising World Projects:
      Blueprint Texture Editor
      MailingSystem
      ServerTools
      Portals
    • Minotorious schrieb:

      @yahgiggle no no what @Jon_miner said is exactly what we want to do and were wondering how to do it. To explain it a bit more:

      1) we have set up a world permission group called "visitor" for new players
      2) we want all visitors to be able to take things out of a chest which is inside a protected area (without us having to add them to it as they come online)
      3) we don't want visitors to be able to destroy the chests or otherwise damage the area

      This had been done in another server but noone remembers how it was done.
      ok i in fact have a the code to do this ill make it better and post it soon for the new API ill make it my mission for tonight

      so lets get this right

      here is what i have

      1 Any Chest placed becomes owned by a user and no matter where in the world they place it no one else but Admins can smach it but others can take things and put things back into it

      now for added ideas

      2 have the owner be able to lock the chest with a pin code
      3 have the owner be able to pass owner rights of a chest to other non admin users
      4 have some items in the chest locked and others unlocked (the new api might not do this yet)
      5 have the chest turn into a type of swap chest, like you can only take planks if you have gold on you as a payment (this also may not work with the new API yet)

      if you have other ideas post them down below


      :thumbsup: Rising Citys @ ip 74.118.138.151:4265 ServerName (Yahgiggles Rising Citys) :thumbsup:

      If at first your code does not work call it version 0.1 with the odd bug :S
    • Minotorious schrieb:

      @yahgiggle no no what @Jon_miner said is exactly what we want to do and were wondering how to do it. To explain it a bit more:

      1) we have set up a world permission group called "visitor" for new players
      2) we want all visitors to be able to take things out of a chest which is inside a protected area (without us having to add them to it as they come online)
      3) we don't want visitors to be able to destroy the chests or otherwise damage the area

      This had been done in another server but noone remembers how it was done.
      like to have a chest at Spawn full of food and other starter items, so new people can have a better start.
      they should not be able to break the chest and it would be good if the admin can set a max of each item they can take, for them not to take everything inside at once.

      we can call it a shared chest (?)
    • Minotorious schrieb:

      exactly our thought, the thing is we had a chest like that in a server but noone remembers how it was done and everyone could take out of it....maybe we just somehow bugged the script or something XD
      ok your be happy to know i have started this new plugin, but have hit a road block oO the new API is missing something i need for this to work, lua has it but i don't want to do this code in lua as lua will be removed soon and replaced by java, ive messaged red51 letting him know what i need so now its going to be a waiting game oO


      :thumbsup: Rising Citys @ ip 74.118.138.151:4265 ServerName (Yahgiggles Rising Citys) :thumbsup:

      If at first your code does not work call it version 0.1 with the odd bug :S
    • Jon_miner schrieb:

      A different "protection" subject...

      I was told that there is a way to limit the use of blueprints by players to just areas they are "Owner". Is this true? How is this done? Currently it appears that any player can place blueprints anywhere.
      with the old lua, you could do this, but i don't know about the new java yet, but in lua its just a matter of if the user does not own the area and has a blueprint in his selection box then you could cancel the command or even boot/teleport the user out of the area


      :thumbsup: Rising Citys @ ip 74.118.138.151:4265 ServerName (Yahgiggles Rising Citys) :thumbsup:

      If at first your code does not work call it version 0.1 with the odd bug :S
    • yahgiggle schrieb:

      Jon_miner schrieb:

      A different "protection" subject...

      I was told that there is a way to limit the use of blueprints by players to just areas they are "Owner". Is this true? How is this done? Currently it appears that any player can place blueprints anywhere.
      with the old lua, you could do this, but i don't know about the new java yet, but in lua its just a matter of if the user does not own the area and has a blueprint in his selection box then you could cancel the command or even boot/teleport the user out of the area
      I was referring to the old lua script. How does one "...cancel the command or even boot/teleport the user out of the area"? Edit the script ourselves somehow?
    • @Jon_miner
      It's very likely that some server owners are running modified versions of the AreaProtection script to suit their needs. The new update is tomorrow and will include some API improvements that will make it possible for the new plugin version of Area Protection to be completed. This should have more features and user friendly compared to the lua version. I really don't see any point in trying to modify or repair the 3.0 script when a far-better plugin is just around the corner.
    • eitherway when the new AP plugin comes out I would think that the creator could write a small extra script to convert the old db file to the new format for the plugin. Shouldn't be that hard to write an extra script that would read the old db file and output it in the new format.
      Admin on Artisan's Realm
      Rising World Projects:
      Blueprint Texture Editor
      MailingSystem
      ServerTools
      Portals