limit number of shops per user/group #7


  • Accepted
  • Enhancement
Open
Assigned to acrobotpl
  • _ForgeUser6849981 created this issue Oct 19, 2011

    just like the title (limit number of shops per user) says... strange, i thought ChestShop already had this option

    ---- MERGED ----

    I'd like to set the limit of shops, for example, how many shops a guest can create, like a guest can only create 2 shops and if you are a higher rank, like member, you'd be able to create 4! all this should be able to be configured the way the user wants it :)

  • _ForgeUser6849981 added the tags New Enhancment Oct 19, 2011
  • AcrobotPL posted a comment Oct 20, 2011

    Nope, it doesn't, however, this will be more than easy to implement in ChestShop 4.

  • AcrobotPL removed a tag New Oct 20, 2011
  • AcrobotPL added a tag Accepted Oct 20, 2011
  • _ForgeUser6849981 posted a comment Oct 20, 2011

    maybe i was thinking about lwc ;] thx

  • _ForgeUser6849981 posted a comment Oct 20, 2011

    so a couple of ideas if its so easy to implement :)) could you add individual permissions with the number of shops a user can create?

    like http://dev.bukkit.org/server-mods/signcolours/ with signColours.e - Allow user to use the colour yellow (e) signColours.* - Allow user to use all colours

    ChestShop.shop.limit.2 - Allow user to make 2 shops etc...

    and maybe an option to buy a third one - "2 free for all users, every next one for 10coins / 10% of earnings" ;]

    it would be great if you could also specify who gets the 10coins / 10% - like the "mall manager" / owner/s of the parent region etc

  • AcrobotPL posted a comment Oct 21, 2011

    @chlitto: Go That won't work, unfortunately. With the new Bukkit's permission system, we can't check what nodes has a player got. I can only check IF the player's got a node. So when you do ChestShop.shop.limit.2, when the 3rd shop is created, it won't work. However, if you change it back to ChestShop.shop.limit.1 and a new shop is created, it will only check if the player's got ChestShop.shop.limit.3 node - he hasn't, so it'll let him do that. That's why bukkit's permission system fails :/

  • _ForgeUser6849981 posted a comment Oct 30, 2011

    you could always create 5 limit nodes

    chestshop.limit1

    chestshop.limit2

    chestshop.limit3

    chestshop.limit4

    chestshop.limit5

    an an option to set the limit for each node in the config file ;]


    Edited Oct 30, 2011
  • AcrobotPL removed a tag Defect Oct 31, 2011
  • AcrobotPL added a tag Enhancement Oct 31, 2011
  • _ForgeUser6849981 posted a comment Nov 21, 2011

    PrefixedPlayerlist custom prefixes work on that basis http://dev.bukkit.org/server-mods/prefixed-playerlist/

  • _ForgeUser6911912 posted a comment May 23, 2012

    so, i guess this isnt added yet, but i really need such an option

    can u make a configurable limit per player? i havent found an option for it yet (as u said it would be more then easy to add)

    i want players to carefully choose their shops, not litter them around and all being empty

    strontkever


    Edited Sep 9, 2012
  • _ForgeUser8553290 posted a comment Sep 9, 2012

    Is this going to be added? I could really use a shop limit on my server.


    Edited Apr 3, 2015
  • _ForgeUser9824084 posted a comment Feb 2, 2013

    This would be very useful. Please, please consider adding this.


    Edited Apr 3, 2015
  • _ForgeUser8653941 posted a comment Apr 6, 2013

    Sorry but I don't see any documentation regarding to using limits on how many shops a player may have.

  • AcrobotPL edited description Apr 9, 2013
  • Phoenix616 posted a comment Feb 13, 2019

    Just to document it and for people finding this in search for such a functionality, this is possible with the third party plugin ChestShopLimiter+.


To post a comment, please login or register a new account.