Portable Crafting Table

Discussion in 'Archived: Plugin Requests' started by BuckitWorker, Apr 15, 2014.

  1. Offline

    BuckitWorker

    Plugin category: FUN

    Suggested name: PortableCrafting

    What I want: With certain permissions, a player can right click a crafting table in their inventory to
    open up a crafting table or simply run /workbench,
    Ideas for commands:
    /pc enable - enables workbench
    /pc disable - disables workbench

    Ideas for permissions: pc.use - needed to use

    When I'd like it by: 4/20/14
     
  2. Offline

    TryB4

  3. Offline

    BuckitWorker

  4. just get a plugin that lets you add commands to clicked items, and it can run /wb(/workbench) from essentials.
     
  5. Offline

    97WaterPolo

    tylerthecreeper1
    I think he is trying to saw if he right clicks on a crafting table in his inventory it will open up a crafting table.
     
  6. 97WaterPolo That's what I just said. Essentials has the command /workbench, which opens a crafting table. If he finds a plugin that allows you to assign commands to items, it can run /workbench.

    BuckitWorker 97WaterPolo Anyway, I'll make this.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  7. Offline

    97WaterPolo

    tylerthecreeper1
    Go for it, but it would assign the command to the item, not necessarily the right clicking IN the inventory.
     
  8. I completed it, and will be posting the link soon.

    BuckitWorker
    Here you go! :) <Edit by Moderator: Redacted mediafire url>

    I have also submitted it to BukkitDev, as I plan on adding more to it. :p

    http://dev.bukkit.org/bukkit-plugins/crafting-portable/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 3, 2016
  9. Offline

    BuckitWorker

    [quote uid=90756560 name="tylerthecreeper1" post=2415345]BuckitWorker
    Here you go! :) <Edit by Moderator: Redacted mediafire url>

    I have also submitted it to BukkitDev, as I plan on adding more to it. :p

    http://dev.bukkit.org/bukkit-plugins/crafting-portable/[/quote]

    Thank you :D Will you be willing to make other plugins for my server? I will make you Developer!

    [quote uid=90756560 name="tylerthecreeper1" post=2415345]BuckitWorker
    Here you go! :) <Edit by Moderator: Redacted mediafire url>

    I have also submitted it to BukkitDev, as I plan on adding more to it. :p

    http://dev.bukkit.org/bukkit-plugins/crafting-portable/[/quote]

    Bugs and possible fixes:

    1. You need to completely restart the server to re-enable it

    2. I want players to be able to enable and disable it when they want.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 3, 2016
  10. BuckitWorker
    1. You can reload
    2. If a plugin is disabled, it's commands won't work, lol. So if I added /pcenable, it wouldn't do anything.
     
  11. Offline

    BuckitWorker

    It doesn't work if you relog.
     
  12. Offline

    Tolbin

    Hey, I gave this a shot. Here's my version. Don't expect much tho since it's my first bukkit plugin and I'm pretty new at java. I just wanted something to code for practice and this looked ok.

    The commands are /pct and /wb.
    /pct toggles if it's enabled for the player and /wb brings up the workbench. Right clicking on a workbench in the inventory works as well. /pct remembers if you have it enabled/disabled through logouts/reboots.

    The permission to use all of this is "pct.use".

    Well this is how it's supposed to work anyway. Did some basic testing and it seems ok.
     
  13. Offline

    BuckitWorker

    Dude. I am not reloading my entire minigames server and stop all the games just because 1 player toggled it off.

    Thank you :) THIS is what I was looking for!

    Good job :) But disabling it doesn't work currently

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  14. BuckitWorker It was a permission based command, lol. Do you understand English? It's not hard to understand kid. /pcdisable disables the PLUGIN, not using the workbench for that player. Use his, same as mine just individual players can disable it.
     
  15. Offline

    BuckitWorker

    Which is what I want. His version.
     
  16. Offline

    Tolbin

    Can you elaborate on how it doesn't work? If it's not working like I intended it might be a problem with how I store the config file. If you can paste the config file it may give some insight into the issue.

    On the other hand, I am also not sure if I understood correctly how you want /pct to work.

    I have it setup so the player with the permission "pct.use" can toggle it on/off for themselves and players without "pct.use" can't use any features at all. Is this what you wanted?

    Cause it occurs to me now that you might have meant for the player with "pct.use" to be able to toggle it on/off for everyone and that if it's on, every player can use it regardless of having "pct.use" or not.
     
  17. Offline

    BuckitWorker

    doing /pct disable doesn't disable it. You can still right click the crafting table but u cant do /wb. I want to be able to disable just the right clicking the item part
     
  18. Offline

    Tolbin

    With "/pct off" I don't get a crafting screen when I right click the crafting table in my inventory. I can still use a regular crafting table in the world. Which is how I meant for it to work.

    You are talking about a crafting table item in your inventory right? Not one in the world?

    If it's not working for you can you check the config.yml file in the "plugin/PortableCraftingTable" folder and see if you have "true" or "false" next to your username? Make sure you have it toggled off when checking.

    Another thing, it's either "/pct off" or just "/pct" to toggle between on and off. Currently it disables both the right click item in inventory bit and the command.

    Easy enough change to make it only disable the inventory bit. But I'd like to get more information on why it's not working for you before changing anything.
     
  19. Offline

    brian109

    OMG, it isn't this difficult. Just download Essentials Plugin and use Powertools (/powertool or /pt) to bind /workbench with the item. Example: /powertool workbench. Then left click and boom, your crafting table opens
     
    tylerthecreeper1 likes this.
  20. Some people like to be difficult or like to have new plugins/custom plugins to make them feel better about their server :p
     
    brian109 likes this.
  21. Offline

    brian109

    lol :p
     
    tylerthecreeper1 likes this.

Share This Page