[EDIT/FUN/SEC] VoxelSniper v5.019 - Flexible Long-Range In-Game Map Editor [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Voxel Box, Jan 23, 2011.

  1. Offline

    Voxel Box

  2. Offline

    przerwap

    last time I checked the Oceanator Brush was in bukkit since v2.5 :p

    just /b oc
    than you can snipe a single chunk with arrow and a 3x3 chunk space with gunpowder
     
  3. Offline

    CoteRL

    Oh! I didn't even try it because in the OP it still has it listed in the not functioning section. I'll be sure to make some oceans after work today then!
     
  4. Offline

    Voxel Box

    Apologies, I thought it was not functioning. I just tested it in-game and the oceanator 5000 is indeed working! I will attend to the OP.
     
  5. Offline

    RchGrav

    Are you sure you don't have 2 copies of this plugin in your folder?? Common problem.
     
  6. Offline

    8e8

    Hey Voxel, great plugin. I have a request if it wouldn't be too much to ask of you. I feel that plugins should be going the route of prefixing their commands to represent the plugin. It's a good practice to ensure that there aren't a lot of conflicts between plugins. It also has the added benefit of allowing you to output a list of commands that can be done with the plugin when you type in just the prefix. (ie. /vote returns a list of voting commands)

    The reason I ask this is because with my vote plugin I have support for /vote and /v (shortform), and it's causing my plugin to take precedence over your /v. It wouldn't be a big problem for you to make the switch, and it would probably be for the better in the end, but I can understand if you disagree.
     
  7. Offline

    Vlyn91

    Hey there!

    2 things:
    - Please change the commands, I really need a version with maybe /vs *all command* or something like that. Too many conflicts now :(
    - The Monster Brush isn't working. Console: "Could not pass PLAYER_ITEM to Voxel Sniper". Tried it with cow, chicken, zombie, skeleton...

    Spawning them with the mobspawner plugin works. I already deactivated this plugin for testing, but didn't help
     
  8. Offline

    przerwap

    Now, I can see you have pride in your plugin and are hesitant to change your command name, but you see... I can't just simply change my command name. The 'V' has a direct bond with the Plugin, its name, and with the community.

    My plugin has only one variation of this command, yours has TWO different ones and I am very much positive that the small group of people using your plugin will not die of sorrow if ONE of them changes.

    Tell you what, I'm gonna solve this problem.
    Code:
    if ((commandName.equals("vote")) || (commandName.equals("t"))) {
    There, that should do it!
    The 't' stands for "Tally". Its this other word that means to record, or count something ... like votes.

    EDIT:
    Also, I already have a /vs command
     
  9. Offline

    8e8

    I guess you fail to understand that you could easily change /vs to /vs s. The point was to use vs (as in VoxelSniper) as the prefix so it gives way to other plugins which have command names that actually make sense. I'm sure your community wouldn't die of sorrow if they had to put /vs at the beginning of each command.

    It's not a problem for me, as I've stated, since it's your plugin which loses the ability to do /v due to the way plugins are loaded. There's no pride in having /v for my plugin, it just makes sense.
     
  10. Offline

    przerwap

    I can always change the priority of my listener ;)
     
  11. Offline

    8e8

    I don't see how that would make a difference. My plugin doesn't use a listener to do it's job. Are you still using onPlayerCommand?
     
  12. Offline

    Vlyn91

    The idea is: Every plugin has ONE command! In your case /vs and then /vs b /vs b m ......
    not /vs /b and so on. Many conflicts here!
     
  13. Offline

    SeeD419

    I just all three videos.

    I'm sold.
     
  14. Offline

    przerwap

    The names of the commands are what they are because of how rapid it is to type them and their acronym stance toward the plugin itself. Therefore I will not be changing the Sniper commands, and I will most-definitely not be adding a prefix to my plugin's commands.

    But let me ask you this; what on earth makes you think that you have a greater status than me and therefore should come out victorious and force me to change my command names? What makes you think that you are better than me?

    EDIT:

    As to this previously mentioned problem, the monster brush works. The names of monsters start with a capital letter: Zombie, Chicken, Sheep, Cow, Creeper etc. and quite honestly I can't do anything to help you because you haven't showed me the problem.
     
  15. Offline

    Voxel Box

    For me, the issue would be more about frequency of use. Personally, for the number of times (per sit-down playing minecraft) i would expect be using voxelsniper commands and wanting them input as quickly and with as few keystrokes as possible is a much greater number than the times i would hope i have to vote for anything. there are always going to be some bumping up against one another that some plugins will have with others, and i think this is just an inevitable happenstance. even if plugins chose their name, plugins that begin with /a or /e or /s or /t -- that would just get pretty ugly quickly. voxelsniper is a build tool and the folks that have it tend to use it mercilessly and reconfigure it on the fly, multiple times per minute when you get used to it. i would be loathe to increase, even by a small amount, the number of keystrokes it takes to use the tool, and if i'm voting for something one a half hour or once an hour, i would not be angry about typing the extra "ote" to put the command in. does that make sense?
     
  16. Offline

    SeeD419

    Hmm...this is just spewing errors for me...not sure why.

    Sniper.txt is loaded...Am I missing some kind of permission?

    I can post the error later, the server is under a bit of a load atm.
     
  17. Offline

    Olat

    I get an error with Items.txt
     
  18. Offline

    SeeD419

    Build 166

    2011-01-29 20:57:25 [INFO] [PLAYER_COMMAND] seed419: /v 0
    Jan 29, 2011 8:57:25 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to VoxelSniper
    java.lang.NullPointerException
    at com.przerwap.bukkit.VoxelSniper.VoxelSniperListener.onCommand(VoxelSniperListener.java:259)
    at com.przerwap.bukkit.VoxelSniper.VoxelSniperListener.onPlayerCommand(VoxelSniperListener.java:102)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:138)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:216)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:554)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:528)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:265)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:201)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  19. Offline

    Olat

  20. Offline

    Vlyn91

    I never said that I'd have a greater status then you or something like this. I'm not programming mods, I'm using them on my server. And for me it's a huge problem if two plugins use the same commands. I don't want to decide between plugin A or B or C, just because they all have to use more than one base command. Maybe in the future it's like:
    Plugin A uses /b and /cs
    Plugin B uses /v and /tz
    Plugin C uses /b and /vs
    ...
    in the end every moduser has to decide which plugin he wants to take and everything is a big mess. Most of the biggest mods out there have a unique base command. For example: WorldEdit, which is also really powerful for realtime editing, just uses // instead of /. Nearly every good mod I'm using has a short unique string. And always when I happen to add a new mod with various commands and one of them has a conflict... I can just forget about it.

    Maybe atm the commands are fine, but bukkit gets new plugins every day and when a plugin with one of "your" commands is created the users have to decide which one they want to use. When this other plugin gets more popular then yours, it'll be a must to change your commands anyway.

    Btw.: If you want real speed use something like Worldedit. Maybe /( or /& or whatever is near to the / key and simple...
     
  21. Offline

    Snip3d

    Great plugin although it seems the newest version of Craftbukkit broke it.

    Any chance on getting this amazing plugin updated?
     
  22. Offline

    UncreativeGamer

    can u please make a tutorial on how to use the inversion brush to make an ocean, i really would like to do so on my server but did not quite understand how it works so i don't want to ruin my world.
     
  23. Offline

    przerwap

    Cant really ruin it, the Oceanator brush is fully equipped with the undo function.
     
  24. Offline

    8e8

    He makes a good point here. Really, how much of a bummer would it be to tack on another character for commands? It could even be '/.' as the prefix since they're right next to each other. The amount of time lost doing that is so minimal it does no harm. It's just kind of selfish to take up all those command aliases, and stubborn to refuse making what seems like a logical change.

    It only hurts your plugin since your commands give way to any plugin registering with onCommand. No one is claiming to be better than you, we're just trying to help create a bukkit wide standard of doing things. I changed my prefix to /vo for the sake of my users, and future plugins. Join the good fight.
     
  25. Offline

    Lawrence

    how do i make sure certain mobs are enabled ?
     
  26. Offline

    Josch

    So, because I think a prefix can be awesome and because I found that the sourcecode of the plugin is included in the jar, I added support for a Prefix! :D
    Because I am also evil and hate every single one of you, you need Permissions for this, as my modified version of VoxelSniper depends entirely on Permissions for every setting!

    So how does it work?
    instead of the snipers.txt file you now have two permissions: "VoxelSniper.snipe" and "VoxelSniper.admin".
    VoxelSniper.snipe allows everything except /addsniper /removesniper and /goto
    VoxelSniper.admin, as you may guess allows everything!

    The /addsniper and /removesniper commands only work while the plugin is loaded, so the settings made using these are gone on a restart! If you want to allow someone permanently, you have to edit your config.yml

    If you don't want a prefix, you have to do nothing else.
    If you want a Prefix for all VoxelSniper commands, you have to define it in Permissions! The Name is "VoxelSniper-CommandPrefix" and you can define it either at group or at user level. So both of this ways are correct:
    Code:
      Admin:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: [Mod]
        permissions:
          VoxelSniper-CommandPrefix : '/#'
           - '*'
    users:
      Someone:
        group: Admin
        permissions:
          VoxelSniper-CommandPrefix : '/vs '
    
    In this example, all admins have the prefix /#, so a command could look like "/#b vr".
    Only Someone doesn't like this, so he has to use "/vs b vr"

    You now believe this is the best thing you ever saw and want to get it? Then go here: https://bitbucket.org/j0s3f/voxelsniper/downloads/VoxelSniper.jar

    If you are interested in the code, you can get it here: https://bitbucket.org/j0s3f/voxelsniper/src
     
  27. Offline

    mattekure

    great plugin, minor detail. I have the 2.6b installed as listed in the OP, but when craftbukkit loads, it shows 2.5 being loaded. There is only the 1 voxelsniper.jar in the plugins folder.
     
  28. Offline

    jakob

    OMFG! nice mod
     
  29. Offline

    Dreadreaver

    working for me on 238 fine
     
  30. Offline

    plopper

    i cant change brush types says:
    /b [player]
    and my snipers.txt has my name BTW im anop and i run essentials.
     
  31. Offline

    Voxel Box

    plop- that sounds like there's a plugin conflict. look through your other plugins and see what's trying to use the /b command.
     

Share This Page