Better permissions for uFuel and signs #52


  • Enhancment
  • Accepted
Open
  • _ForgeUser6980419 created this issue Aug 19, 2014

    Background Info

    On my server, I would like to configure uCars so that players can only buy and sell fuel using [uFuel] signs, and not through the /ufuel command. This is possible by removing the ucars.ucars permission from the players, but they also end up losing the ability to view how much fuel they currently have. Without the ucars.ucars permission, players cannot use "/ufuel View", and they cannot check their fuel by right-clicking a feather while in a uCar. Therefore, I would like additional permissions to control who can use "/ufuel Buy", "/ufuel Sell", and "/ufuel View" separately. It would also be nice to have permissions to control the creation and usage of [uFuel] signs, since at the moment anyone can create these signs. This is not desirable because we want players to only refuel at designated "gas stations". Letting them create their own signs where ever they want would defeat the purpose of these stations, and would effectively be just as if they had access to the /ufuel command anyway.

    Proposed Permissions

    The usage of the /ufuel command should not be dependent on the ucars.ucars or ucars.ufuel permission. Instead, please add the following permissions:

    • ucars.ufuel.buy (Player can use the "/ufuel Buy" command to buy fuel)
    • ucars.ufuel.sell (Player can use the "/ufuel Sell" command to sell fuel, if the selling of fuel is enabled in the config)
    • ucars.ufuel.view (Player can use the "/ufuel View" command to view how much fuel they currently have)
    • ucars.ufuel.check (Player can right-click an item (default: feather) while riding an uCar to see how much fuel they currently have)

    Please note that ucars.ufuel.view and ucars.ufuel.check should be independent of each other. (I shouldn't need to enable one to make the other work, and vice versa)

    For the [uFuel] signs, please add a "View" sign that allows players to view how much fuel they have when they right-click it. Also, please add the following permissions (these are similar to how permissions are setup for Essentials Signs):

    Create Sign Permissions

    • ucars.ufuel.sign.create.buy (Player can create a [uFuel] Buy sign)
    • ucars.ufuel.sign.create.sell (Player can create a [uFuel] Sell sign)
    • ucars.ufuel.sign.create.view (Player can create a [uFuel] View sign)

    Break Sign Permissions

    • ucars.ufuel.sign.break.buy (Player can break a [uFuel] Buy sign)
    • ucars.ufuel.sign.break.sell (Player can break a [uFuel] Sell sign)
    • ucars.ufuel.sign.break.view (Player can break a [uFuel] View sign)

    Use Sign Permissions

    • ucars.ufuel.sign.use.buy (Player can use a [uFuel] Buy sign)
    • ucars.ufuel.sign.use.sell (Player can use a [uFuel] Sell sign)
    • ucars.ufuel.sign.use.view (Player can use a [uFuel] View sign)

    Thank you for considering this feature enhancement request.

  • _ForgeUser6980419 added the tags New Enhancment Aug 19, 2014
  • Forge_User_24318311 posted a comment Aug 20, 2014

    Consider it considered! :) All of this will be added except ucars.ufuel will give access to all, but ucars.ufuel.xx will be for each part! :)

  • Forge_User_24318311 removed a tag New Aug 20, 2014
  • Forge_User_24318311 added a tag Accepted Aug 20, 2014
  • _ForgeUser9218260 posted a comment Jul 12, 2015

    Upvoting. And I already changed my config so that I have cmdPerm: ucars.ufuel

    which creates the ufuel node separately from ucars.ucars, as it was intended by the default config and permissions.

    I really wish for signs permissions.

    Thanks for that great plugin!


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