Paintball gun to color a Survival World

Discussion in 'Archived: Plugin Requests' started by SneakyAzShiite, Mar 24, 2014.

  1. Offline

    SneakyAzShiite

    Plugin category: FUN

    Suggested name: (if someone develops this they should name it =P)

    What I want: Id like certain users to be able to paintball color the map for Xtime. My donator group for instance. I set an item to be the painter and they can equip with a command. Then they right click and shoot (snowball) and it paints a few blocks in the world for Xseconds. I've seen this done in hubs before but i cant find a plugin that allows this. It seems that shooting the snowball changes the blocks to colored wool on impact.


    Ideas for commands:
    /paintball reload (reload config)
    /paintball (equips the gun)
    /paintball set <Item ID> (sets which item youd like to use as the paintball gun)
    /paintball time <time in seconds> (sets the time in seconds for colored blocks to remain before reverting)
    /paintball speed <#> (if theres an ability to change speed of paintballs shooting from gun)

    Obviously some of these could just be in the config and wouldn't need to be commands.

    Ideas for permissions:
    paintball.reload (permission to reload config)
    paintball.use (permission to use paintball gun)
    paintball.spawn (access to /paintball to equip the gun)
    paintball.time (access to being able to change delay before wool is reverted)<--maybe just editable in config
    paintball.set (able to set which item is used as the wand)
    paintball.speed (able to change speed in game)
    paintball.admin (all the admin super power stuff ^_^)

    Once again some permissions may not be needed if things like time,ID and speed are just included in the config file.

    When I'd like it by: As soon as possible.
     
    Desle likes this.
  2. Offline

    snivell

    This would be pretty cool.
     
  3. Offline

    SneakyAzShiite

    Apex Is this possible?
     
  4. Offline

    snivell

    Me and you have both seen it, so it is very possible.
     
  5. Offline

    SneakyAzShiite

    Apex Yeah, just in hubs though. Wasnt sure if itd be too much for a survival world application. Shall wait and see xD
     
  6. Offline

    SneakyAzShiite

    Well i talked to someone and they told me the gist of how it works. With work/college i just dont have the time to learn how to java at the same time =o

    He said: "check player teleport event, check if it's an enderpearl reason, cancel the event, then set the nearest block to the color you want."

    Maybe this will entice someone to try tackling this for me ^_^
     
  7. Offline

    JungleSociety

    SneakyAzShiite
    I was thinking about making this about a month back, I'll see what I can do. But I have one problem:
    When I read this it makes me think that when a player throws an enderpearl it wont teleport them, but it will set the block at its location. So I'm not to sure what it is that your describing there. Anyways I think I could do this based on your personal description of the plugin.

    Edit: I may not have time to do this, so don't expect to much :p
     
  8. Offline

    master9819

  9. Offline

    JungleSociety

    master9819
    Yea of course.
    SneakyAzShiite
    I guess some people would like this plugin, so I'll start when I get home.
     
  10. Offline

    master9819

    Can you also make the prefix custom so we can edit it in the config? Thanks.

    JungleSociety Can you also make it to so when they shoot it they get a cool down

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

    SneakyAzShiite

    JungleSociety yeah enderpearls were the "paintball". So thats why he explained it like that. I just threw that out there in case it made things easier for someone who would work on it. You can of course do it however ^_^. Thanks for your time!
     
  12. Offline

    JungleSociety

    SneakyAzShiite
    Sorry I don't believe I'm going to have time to do this, so if anyone else wants to take it, go right ahead. If no one takes it and I end up having some free time for once, I'll work on this.
     
  13. Offline

    SneakyAzShiite

    JungleSociety aww that stinks. well if ya get time down the road itll be here, not many other takers xD
     
  14. Offline

    Sojcice

    When will you finish this plugin? :)
     
  15. Offline

    SneakyAzShiite

    Sojcice he says atm he doesnt have time for it. Just gotta hope someone picks it up or he finds time =P
     
  16. Offline

    CGA1123

  17. Offline

    SneakyAzShiite

  18. Offline

    CGA1123

    SneakyAzShiite

    Yeah, I've already got the paintball working and changing blocks!
    I was wondering about adding a /paintball color command? (Changed the color of the paintballs)
    I just need to figure out the removing blocks after a set time.
    However I'm going to be travelling, and I'll be without access to a computer until this saturday late afternoon/evening (probably 1900CET). But I'll work on this as soon as I can, I like this idea!
     
  19. Offline

    SneakyAzShiite

    CGA1123 the changing color would be neat, Maybe being able to set a color using permissions would be cool too? Say donator rank had one color, but VIP would be able to change their color whenever through a permission? Dont know how much effort that is to do. Honestly ill be happy with whatever, I'm excited someone decided to work on it! ^_^ Thanks once again.
     
    CGA1123 likes this.
  20. Offline

    CGA1123

    SneakyAzShiite
    Hey, so I have got the basic functionality going now! Sorry for the delay I've been busy!
    I still have to add perms and all the other option (timer reset, color, etc...)
    But if you want to have a little play around with this version <Edit by Moderator: Redacted mediafire url>
    use /paintball to equip.
    use /paintball reset to reset the blocks.
     
    Last edited by a moderator: Nov 3, 2016
  21. Offline

    SneakyAzShiite

    CGA1123 you beast! Ill definitely be messing around with it ^_^
     
    CGA1123 likes this.
  22. Offline

    CGA1123

  23. Offline

    CGA1123

    SneakyAzShiite

    Added:
    alias /pb for all commands
    /paintball set <item>
    /paintball color <color>
    /paintball reload

    perms:
    paintball.spawn
    paintball.use
    paintball.color
    paintball.reload
    paintball.reset
    paintball.set

    For color you must use paintball.color.<color> to add access to those colors.
    (players must have paintball.color to access /pb color <color> command, i.e. add paintball.color AND paintball.color.<color>)

    The color on first use will always be white until player sets the color (if he has correct perms) using /paintball color <color>

    Colors are: White, Orange, Magenta, Light_Blue, Yellow, Lime, Pink, Gray, Light_Gray, Cyan, Purple,Blue, Brown, Green, Red, Black.

    I still need to add timer and speed if I can!

    /pb or /paintball still equips the gun.
    /pb reset or /paintball reset still resets!

    <Edit by Moderator: Redacted mediafire url>

    It should work mostly...
    Obviously it doesn't, tell me and I'll fix it asap.
    If you want anything extra added tell me too!

    Edit:
    Download link updated to add sound when shooting
     
    Last edited by a moderator: Nov 3, 2016
  24. Offline

    Ventality

    CGA1123 Can you make it so it does a a noise when you shoot the gun, Like Level Up XP sound, Or Chicken Pop :D

    CGA1123 Bug when you try to paint a tree c: http://prntscr.com/3py0op

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

    CGA1123

    Ventality <Edit by Moderator: Redacted mediafire url>

    Ventality
    Ok, will work on that! Thanks!

    Ventality SneakyAzShiite
    Fixed the 'tree bug'.
    <Edit by Moderator: Redacted mediafire url>

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

    SneakyAzShiite

    Just some feedback from the testers on my server.
    - Cannot set "gold horse armor" and some other items as paintball gun.(important)
    - Can paintballs be set as enderpearls instead of snowballs for color to "match" a paintball? (semi important)
    - once a block is colored wool you cant use a new wool color to change it. (semi important)
    - if the paintball gun is a placeable block, and you right click to place/use it-> it vanishes from your inventory when in survival. (semi important)


    Once again thanks for taking on this project! ^_^
     
  27. Offline

    CGA1123

    SneakyAzShiite
    Remember for that command you must input the Material of the item you want to set.
    For gold horse armour that would be 'GOLD_BARDING' All Material names can be found here.

    I could change the paintballs to enderpearls or add an option between snowballs or enderpearls.
    What do you mean by matching the color?

    I could add that functionality!

    I will fix that so it doesn't disappear!

    No problem!
     
  28. Offline

    SneakyAzShiite

  29. Offline

    CGA1123

    SneakyAzShiite
    Ah okay, I'm working on it at the moment!
    Should be upper case, it has to match the material name exactly sorry!

    SneakyAzShiite

    All the stuff mentioned earlier should now be fixed/added.
    Please delete you config file to allow the update version to be created.
    You can toggle between snowball or enderpearl in the config.

    <Edit by Moderator: Redacted mediafire url>

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

    SneakyAzShiite

    - When doors are colored and then you do /pb reset the doors will not revert from wool blocks. (important)
    - Signs that were colored will be blank when you do /pb reset. (important)
    - Is there a way to prevent people from breaking wool blocks? Right now people can break wool blocks then /pb reset and the original blocks appear. but then users can have unlimited wool. (semi important)

    Is it possible to prevent doors/signs from being changed? Might be the easier solution.
    Maybe we should number the versions too. The most recent one on 6/6/14 at 4:28pm is Paintball v3

    Ill have my group test the newest version! ^_^
     
    CGA1123 likes this.

Share This Page