[EDIT] PopupBlock v1.7 - replenish your world with blocks [612-766]

Discussion in 'Inactive/Unsupported Plugins' started by spacerules, Jan 29, 2011.

  1. PopupBlock - The block re-generator:
    Version: v1.7

    This plugin adds random blocks to a given area randomly. You can look up id's and modify the file config.txt to chose what blocks can be placed and who can place the blocks.

    To use this plugin use the following commands:
    • /blockd [distance] sets the distance.
    • /blockn [number] sets the number of blocks (can have a big number).
    • /block - which places n number of blocks over d distance
    • /blocku [username]- adds or removes access to this plugin
    • /blockur - tells you who has access to this plugin
    Usage example:



    [air][air][air]
    D__[air]
    [air][air][air]

    Where D is the player.
    3 is distance (3x3x3)
    and n would be the number of blocks to be placed in that area.

    Features:
    • This is only for placing blocks randomly.
    Download PopupBlock
    Source Code

    Future updates:
    • Update user list after initial setup by command.
    • Set up separate settings for each world and each user.
    • change the blocks and see the block list in game.
    • sign control popup block - idea by letmedl (will need information on time events and signs)
    Change log:
    Version 1.7
    • fix for 612
    Version 1.5 and1.6
    • temp fix for 556 (1.6 and 1.6a was certain bug fixes)
    Version 1.4
    • Nothing but a code update. for the latest version of bukkit
    Version 1.3
    • you can now add and remove users in game (/blocku)
    • can see who can use block command (/blockur)
    Version 1.2
    • Updated plugin to work with nethers
    Version 1.1

    • Updated plugin for the latest version of bukkit
    Version 1.0

    • Initial release of the plugin
     
  2. Offline

    Aeron

    Still have some tweaking to do with the server files, when they are finished, will try your plugin
     
  3. Offline

    EvilSeph

    Your download is named Popupblock.zip...?

    In any case, your submission has been found to not meet our Plugin Release/Submissions Guidelines, please make the changes to rectify this and it will be reconsidered.
     
  4. Offline

    Aeron

    the zip contains Popupblock.jar (inside it ;) )
     
  5. my computer is odd it wont send anything without it being zipped because of my homemade antivirus system, i am working on reconfiguring it for jar files.
     
  6. Offline

    EvilSeph

    If the zip contains Popupblock.jar, then your submission has been found to not meet our Plugin Release/Submissions Guidelines (your title is incorrect, among other things), please make the changes to rectify this and it will be reconsidered.
     
  7. Offline

    Daveyo

    really looking forward to this addon even though it seems abandon. Please work on it again if you get a chance. Can keep a world file small yet make for plenty to mine
     
  8. I will, i thought no one liked it, i am sorry. I have been having problems with getting minecraft to work recently, I will be working on this again starting in a few hours and will hope to have it fixed and updated by next week.
    --- merged: Feb 15, 2011 10:14 PM ---
    I am looking for feed back about what i have thus far, what do you like or what do you not like. Also any future ideas you might want would be great! If the addition is easy to add I will add it in a quick update. If not, it might take me a bit more time.
     
  9. Offline

    letmedl

    it would be cool if you could place a sign and the blocks around it would replenish.
    so you could create a mine without ruining the whole landscape :)
     
  10. Great idea, but heads up this was my first plug in with flowswitch being my second, but I will attempt it! Also I dont know if I will be able to lock it so that you dont get gref, but i will add a option for that in the config as well as users can turn that on or off. today i am setting up multipule users in game but then i am going to have to switch my config file so it allows multipul different people settings.
     
    lolligertyp likes this.
  11. Offline

    lolligertyp

  12. can you copy your config file for block adder.
    today is my busiest day and am not near the program or file, did it work before the update?
    if so i will replace the backup as soon as i get to that code and work on fixing the update. if not i will read what code they have and see if there is a conflict.
     
    lolligertyp likes this.
  13. Offline

    lolligertyp

    Where I did it place?
     
  14. there is a block adder file that gets placed where your server is ran and you update the user to work with your username for the first use.
     
    lolligertyp likes this.
  15. Offline

    lolligertyp

    There was no file created while starting the Server new. Can you give me the file name and content?
     
  16. lolligertyp, i looked at every mod and even tested all of them with my plug in but can not duplicate the problem. Has anyone else had any problems with the update?

    where your server runs and where the bukkit file is you need to have a folder called 'BlockAdder' in there you need to make a file called 'config.txt' in that place the following:
    #This file is for blockadder.
    #please do not edit the format of anything.
    #use , as seperators only do not apply , at the end.

    #Who Can use the command...
    users=lolligertyp
    #The the number of random blocks in front of you being created.
    blockcount=100
    #The distance in front of you being created.
    dist=10
    #The bloccks to be randomly chosen.
    block=1, 3, 12, 13, 14, 15, 16, 21, 48, 49
     
    lolligertyp likes this.
  17. Offline

    lolligertyp

    It doesn't work better :( Here the Server.log:
    Code:
    2011-02-19 13:41:48 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-19 13:41:48 [INFO] Loading properties
    2011-02-19 13:41:48 [INFO] Starting Minecraft server on *************
    2011-02-19 13:41:48 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-02-19 13:41:48 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-02-19 13:41:48 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-02-19 13:41:48 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-02-19 13:41:48 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-387-g065aac0-b300 (MC: 1.2_01)
    2011-02-19 13:41:48 [INFO] Preparing level "world"
    2011-02-19 13:41:48 [INFO] Preparing start region
    2011-02-19 13:41:49 [INFO] Preparing spawn area: 93%
    2011-02-19 13:41:49 [INFO] [Permissions] version [2.0] (Handler) loaded
    2011-02-19 13:41:50 [INFO] [Vote] version [2.0] is loaded!
    2011-02-19 13:41:50 [INFO] [General] version [2.1] (Salvez) loaded
    2011-02-19 13:41:51 [INFO] Persistence: Found Permissions, using it for permissions.
    2011-02-19 13:41:51 [INFO] Persistence version 0.34 is enabled
    2011-02-19 13:41:51 [INFO] [MYWARP]: 51 warps loaded
    2011-02-19 13:41:51 [INFO] [MYWARP] Permissions enabled.
    2011-02-19 13:41:51 [INFO] MyWarp 1.9 enabled
    2011-02-19 13:41:51 [INFO] SpawnMob version 1.4.1 enabled.
    2011-02-19 13:41:51 [INFO] [SpawnMob] Permission system enabled.
    2011-02-19 13:41:51 [INFO] NetherGate version 0.2 is enabled
    2011-02-19 13:41:51 [INFO] [Jail] Loaded 2 jail zones.
    2011-02-19 13:41:51 [INFO] [Jail] Loaded 0 prisoners.
    2011-02-19 13:41:51 [INFO] [MYHOME] Connection with MyWarp established.
    2011-02-19 13:41:51 [INFO] [MYHOME]: 9 homes loaded
    2011-02-19 13:41:51 [INFO] [MYHOME] Permissions enabled.
    2011-02-19 13:41:51 [INFO] MyHome 1.8 enabled
    2011-02-19 13:41:51 [INFO] flyRidgeFly version 1.3a is enabled!
    2011-02-19 13:41:51 [INFO] Done! For help, type "help" or "?"
    2011-02-19 13:42:14 [INFO] lolligertyp [/***************] logged in with entity id 129
    2011-02-19 13:42:19 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-02-19 13:42:27 [INFO] lolligertyp issued server command: login YOUTHINKIGIVEYOU?
    2011-02-19 13:42:27 [INFO] Unknown console command. Type "help" for help.
    2011-02-19 13:43:45 [INFO] lolligertyp issued server command: time day
    2011-02-19 13:43:45 [INFO] Unknown console command. Type "help" for help.
    2011-02-19 13:44:04 [INFO] lolligertyp issued server command: block
    2011-02-19 13:44:04 [INFO] Unknown console command. Type "help" for help.
    2011-02-19 13:44:20 [INFO] lolligertyp issued server command: blockd 10
    2011-02-19 13:44:20 [INFO] Unknown console command. Type "help" for help.
    2011-02-19 13:44:28 [INFO] lolligertyp issued server command: blockn 300
    2011-02-19 13:44:28 [INFO] Unknown console command. Type "help" for help.
    2011-02-19 13:44:35 [INFO] lolligertyp issued server command: block
    2011-02-19 13:44:35 [INFO] Unknown console command. Type "help" for help.
    2011-02-19 13:44:44 [INFO] lolligertyp lost connection: disconnect.quitting
    
    There is no PopupBlock loaded and I can't use the commands. Here the Folders and Files:
    root of bukkit:
    [​IMG]
    plugins:
    [​IMG]
    and the BlockAdder Folder:
    [​IMG]
     
  18. I believe you, I am just trying to figure out if other people are having the same problem and if anyone else got it to work, or fail. If other people have different problems then i can narrow it down a lot easier. If you are the only person then, its harder for me to get it to work.

    the Blockadder.jar is not in your plug ins folder in your picture.

    also thanks for the link to neithergate, i was looking for something like that.
     
    lolligertyp likes this.
  19. Offline

    lolligertyp

    What is this file? I try Google but it links me to this Side and here is no such file oO
     
  20. --- merged: Feb 19, 2011 1:57 PM ---
    wait my bad
    --- merged: Feb 19, 2011 2:34 PM ---
    ok, redownload. I am pretty sure i had the wrong file uploaded. I re-downloaded my file and i got an error so i recompressed the file and ran it and it worked so could you please try it again and let me know it if works.
     
    lolligertyp likes this.
  21. Offline

    lolligertyp

    Now it works (or the text works) (The folder and the file were created and when I type "/blockd" or "/blockn" or "/block" it gives me a message. But nothing happen! I uploading a Video on Youtube soon.
    Here the video:
     
  22. rats, I am working on it again to see if i can get it to work, i think there is a conflict between Persistence and Popupblock.

    As for the /blockd and /blockn you are getting responces but they are slow. I will work on this too.

    I messed something up.
    --- merged: Feb 20, 2011 11:40 PM ---
    ok now it is working again sorry for the inconvience and Thank you lolligertyp for finding the error! Please test it again.
     
    lolligertyp likes this.
  23. Offline

    lolligertyp

    it works now,but i thought that this plugin can create new areas on normal grund (see the video). And I want only dirt and stone, but also it spawns gold silver etc..
     
  24. in the config file there is a line that says "block=1, 3, 12, 13, 14, 15, 16, 21, 48, 49;" you should be able to change that and update what blocks you like and dont like.

    As for the next update its going to take me longer because i have to reconfigure the file for each user. The file format will be changed to name-number of blocks - distance -blocks (ex. "me-10-5-1,3,15"). Also I will be setting it up so you have to set the user the first time you run it (this can only be done by the console).
     
  25. I realize I have not been on this forum a lot, but i have been working on the new version for you guys. For now its the same but an update to make it work with the latest version of bukkit.
     
  26. Offline

    ZeePal

    Hello Spacerules,

    Just wanted to let you know I wana try your plugin out but your commands respond with "unknown console command".

    I can see in the log of the server starting: "Popupblock version 1.4 is enabled!" with no errors.

    I have tried it without Bukkit plugins with no luck as well (expect yours of course and it still says its enabled with no errors).

    I dont have "Blockadder.jar" either where do we get? (i have the folder "Blockadder" but no jar)

    Setup details:
    Show Spoiler
    Linux box running SimpleServer running craftbukkit.jar (554 556) running MC Server (official)

    ---Plugins---
    BigCatch.jar
    bukkit-flow-control.jar
    ControllerBlock.jar
    DeathMessagePlugin.jar
    DeathSigns.jar
    dynmap.jar
    EssentialsGroupBridge.jar
    EssentialsGroupManager.jar
    Essentials.jar
    Growbie.jar
    IceDrop.jar
    InfiniteLava.jar
    InventorySort.jar
    Lockette.jar
    LyTreeHelper.jar
    PhilosophersBox.jar
    PickBoat.jar
    Popupblock.jar
    PorteCoulissante.jar
    quickbelt.jar
    QuickStrasse.jar
    runecraft2.4.5.jar
    Snowballz.jar
    TDRSonar.jar
    TorchBurn.jar


    --- /BlockAdder/config.txt ---
    #This file is for blockadder.
    #please do not edit the format of anything.
    #use , as seperators only do not apply , at the end.

    #Who Can use the command...
    users=zeepal
    #The the number of random blocks in front of you being created.
    blockcount=100
    #The distance in front of you being created.
    dist=20
    #The bloccks to be randomly chosen.
    block=1, 3, 12, 13, 14, 15, 16, 21, 48, 49;


    Hopefuly I didnt miss any details...
     
  27. sorry about the late responce my computer got reformated and I lost several codes

    I will double check the code you are running to see if there are any problems, but could you tell me what you are typing in, where you are typing it in (console commands don't work), and display the error code?

    You have popupblock.jar, it has 2 names It will be changed in the next version when i can finish rewriting it. The update will allow multiple users with multiple values. so i had to redo the code. You are probably right about an error, i noticed a few flaws in my original code.
     
  28. Offline

    ZeePal

    I type (in game): "/blockd 5" (without quotes of course)
    and get the response (twice? 1 in white then 1 in gray): "Unknown Console Command. Type "help" for help."
    On the log I have for the server it says: "09:50:56 [INFO] ZeePal issued server command: blockd 5"


    if i run "/help" i get this in the log: "09:52:29 [INFO] §9[PLAYER_COMMAND] ZeePal: /help"
    and if i run "/testyivg" (just random s***) i get: "09:56:00 [INFO] ZeePal issued server command: testyivg"


    So it looks like the commands aren't being registered?

    P.S. I also tested without using SimpleServer but same response: "09:58:42 [INFO] ZeePal issued server command: blockd 5"
     
  29. I am going to look at the old code and see what i can do as a temp fix, once again this will be updated to a new version as soon as i can.

    Its good again for now.

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

    Josh1984

    Changing the block types seem to get overwrited with the orignal numbers when I reload the server. The distance and numbers do save. So no matter what I change them to and save they always change back to block=1, 3, 12, 13, 14, 15, 16, 21, 48, 49; Other than that the plugin is great I always put a huge ball of your blocks in the air and watch people build ways to get to it and mine it like ants.
     

Share This Page