[FUN] MobArena v0.96.8 - Become a mob-fighting gladiator! [1.7.x, 1.8.x]

Discussion in 'Archived: Plugin Releases' started by garbagemule, May 30, 2011.

  1. Offline

    garbagemule

    [​IMG]

    MobArena - Become a mob-fighting gladiator!
    [​IMG] Latest build: v0.96.7 (1.7.x)
    [​IMG] Wiki
    [​IMG] IRC Channel
    [​IMG] Source

    BukkitDev Project Page - Find MobArena on dev.bukkit.org here: LINK.

    ------------------------------

    Old description (open)
    If you enjoy fighting monsters for glorious prizes or just the sheer thrill of battle, you and your friends can now join forces against hordes of Minecraft evils in the exciting gladiator-style survival mini-game MobArena!

    Heavily inspired by Deminetix' Fight-plugin, MobArena is a PvE-take on arena-gameplay, with a similar class-based system. Instead of fighting other players, you team up with them to beat oncoming waves of monsters, earning rewards in the process. MobArena can be played alone, or with as many friends as you like!


    Features:
    • Fight oncoming waves of monsters
    • Play alone or team up with friends
    • Earn glorious prizes
    • Customizable classes, rewards and waves
    • Easy to set up
    • Extremely easy to use
    • Very few user commands
    • Supports Permissions and all major economies
    • Supports Spout
    • Supports Heroes
    Note: When you post a bug report, please provide a stacktrace/error from the server log/console window. Post this stacktrace in either a pastebin, a pastie, or a CODE-block! The same applies for config-files, permissions-files, etc! Please don't put them directly in your posts, as they become gigantic and annoying to read. If you don't follow this guideline, I might ignore your post!


    Wiki - Instructions, commands, FAQ, etc.
    I have set up a Wiki for MobArena. It contains a bunch of information and guides on how to set up and customize arenas, an overview of all the commands, how to set up Permissions, as well as frequently asked questions.

    New: MobArena now has its own IRC channel (#mobarena @ EsperNet). Click here for a web-based IRC client. Feel free to stop by to get help setting everything up if you really don't understand the Wiki and the instructional video, or to have a chat about MobArena (or anything else, for that matter) :)

    Relevant links:
    Videos:
    Getting started with MobArena, by Flamers
    Flamers made this really easy-to-follow, simple video of how to get started with MobArena. It covers installing the plugin, defining an arena region and setting up basic leaderboards, as well as a few pointers for arena design.
    Old instructional video (open)
    Instructional video for setting up MobArena:

    Note: This video was made for v0.67, but all the in-game instructions still work the same for the latest versions. The config-file has changed, so make sure to read the Wiki on how to set it up.
    More Videos (open)
    Review of MobArena by plugin reviewer jamescosten (v0.84):

    Note: My nickname "garbagemule" is pronounced "garbage mule", as in "trash donkey" ;)

    Hilarious showcase of MobArena by Daniel James and Daniel Cherry (v0.92.3):


    Delios showing off his beautiful arena setup:


    slowmonkey1227 in his interesting "island" arena: YouTube
    French video by avalondrey (v0.87.3): YouTube
    German video by blutherz and his friends (v0.91.2): YouTube



    Troubleshooting:
    To avoid wasting not only your own time, but mine as well, I expect everyone to do some extensive troubleshooting before posting bug reports. What does this mean?

    Try MobArena on a fresh server.
    MobArena works perfectly fine when I release it. Sure, there are a few bugs, but it works. If it doesn't work for you, something is most likely wrong on your end. Set up a local test-server, and verify that MobArena works before claiming that it doesn't. When you have verified that MobArena does indeed work, you can start adding other plugins and settings until something conflicts.

    Disable other plugins.
    The first thing you need to do is disable all other plugins. If you can't reproduce the bug with other plugins disabled, you know that you have a conflicting plugin. Now perform a binary search on the other plugins, or if you don't know how to do that, just add a couple of plugins back to the plugins-folder, try to reproduce the bug, and if you can't, the conflicting plugin must be in the remaining set of plugins.

    Write down reproduction steps.
    Figure out the exact steps to reproduce/trigger the bug. I need precise steps, and as much information as possible, because there are often many things that could be going on. An example of reproduction steps could be:
    1. Type /ma join
    2. Punch the Archer class sign
    3. Wait for someone else to join
    4. Punch the iron block
    5. Type /ma leave before the other player picks a class

    Check the console window/server.log
    Make sure you check the server.log file for any MobArena errors or exceptions. If you find any, copy the ENTIRE exception (including all the lines that say "at com.garbagemule.MobArena...") and paste it (with the other information) in a CODE-tag here in the thread.


    Donations:
    I develop MobArena for the fun of it and the positive feedback is all it takes to make me happy, but a few people have asked for a link, so if you're one of them, here's a link: Donate - You can donate as much as you want, even down to a few cents! If I get enough donations, I will spend the money on an extra Minecraft account to aid me in developing/testing/debugging MobArena :)


    Changelog:

    Version 0.94.3.24
    • Updated for CB 1337.
    • The repair-delay node is now unused! The reason for this is that it is now possible (with the release of 1317) to cancel block damage in explosions, and still retain the animation and sound! This also means that arenas should be fully pistons-compatible (for arenas that don't use soft-restore or force-restore)! I'm hoping to see some screenshots and videos of shifting arenas! :)
    • You can now right-click signs in the lobby! I finally found a super easy solution to the improperly updating inventory issue with right-clicking class signs. The result is that players can now left- or right-click as they please. This should solve all issues related to players not being able to choose classes, due to spawn region and WorldGuard/Factions/whatever conflicts.
    • It is no longer possible to warp out of the lobby.
    • New per-arena setting: final-wave - Allows for setting a final wave, meaning on that wave, the arena will end, regardless of how many players are alive.
    Version 0.94.3.11 (open)

    • v0.94.3.11 - Updated Register, built against CB 1240.
    • v0.94.3.8 - Added basic leaderboards.
    • v0.94.3.6 - Fixed MagicSpells support - MobArena no longer supports MagicSpells pre-v1.1!
    • v0.94.3.5 - Fixed a bunch of bugs introduced with CB 1185, as well as a couple of minor MobArena bugs.
    • Updated for CraftBukkit #1185
    • Updated economy support (now supports iConomy 6).
    • Added the three new mob types, Enderman/Endermen, CaveSpider/CaveSpiders, Silverfish. They can be used just like the other mob types in the waves.
    • Endermen cannot pick up arena blocks (this is why).
    • Endermen cannot place blocks in arena regions.
    • The per-class permission syntax has been fixed and changed slightly. The Wiki has been updated (clicky).
    • Fixed MagicSpells issues.
    Version 0.94.2 (open)

    • Redstone circuits now work properly in arenas.
    • Lightning now properly strikes on spawnpoints on special waves.
    • Fixed an issue where players somehow warping/cheating out of the arena world get kicked from the server when discovered.
    • Added MagicSpells support. Use the magicspells.yml file to ban certain spells from the arena either for the whole session, or only during boss waves.
    • Fixed the Heroes death conflict. MobArena and Heroes should now play nice together. Further Heroes support is planned for upcoming releases.
    • [COLOR=#1000000]MobArena will no longer support the discontinued Permissions 2.x and 3.x permission systems.[/COLOR] Recommended permissions systems include PermissionsBukkit (defacto standard) or PermissionsEX.
    Version 0.94.1 (open)

    • Added two new boss abilities: 'shuffle-positions' and 'flood'. Try them out!
    • Players disconnecting/crashing during an arena session no longer get corrupted data files due to economy rewards.
    • Weapon durability is now correctly set to "unlimited".
    • Item sub-types (cocoa beans, bonemeal, colored wool, etc.) now work again.
    • Players can no longer join the arena without first picking a class.
    • MobArena now works with spawn-monsters=false again.
    Version 0.94 (open)

    • Completely revamped the waves system! Undeniably the biggest feature in MobArena since multiple arenas in v0.92, the new customizable waves are guaranteed to bring much more awesomeness to your MobArenas. The waves system brings two new wave types, swarm waves and boss waves. The latter is a very elaborate feature, and the whole waves system has been given its own page on the Wiki. Note: MobArena will ignore all old wave settings, but use sane defaults.
    • Revamped the logging system. Instead of logging: true, you can now use logging: yml/xml. The logging system will now keep track of the last session only, but also maintain a collection of 'totals' for each arena. The idea behind these easy-to-parse files is making the stats available on server web pages.
    • Added SuperPerms/PermissionsBukkit support. Note that specifying mobarena.arenas.* and mobarena.classes.* probably won't work, but these nodes are given to everyone by default.
    • Added Spout support. Currently, the only Spouty thing MobArena does is print (some) announcements as notifications/achievements. This should limit the amount of "chat spam" that MobArena produces. Other Spout-features are planned, but don't expect something crazy. Note that MobArena does NOT require Spout!
    • Monsters will no longer target pet wolves. This is a major nerf to pet classes, but they were very overpowered as it was.
    • Fixed item amounts greater than 64 sometimes bugging out. You should now be able to put arrow:1024 for your Archer classes :)
    • Fixed players losing their stored items and/or earned rewards upon disconnecting from the arena.
    • Fixed blocks not restoring when burned by fire.
    • Fixed an issue with entry fees. They should no longer cause any problems.
    • Fixed slimes. That's right! Slimes that spawn as a result of bigger slimes splitting upon death are now considered arena monsters. This also means that Slimes no longer drop slime balls; as intended.
    • Revamped the repairing algorithm. It is now MUCH more sophisticated, and is capable of repairing not only signs and containers, but also torches, doors and beds. Redstone -should- repair properly as well, but it is still slightly buggy.
    • Added support for restorable containers. Registered chests, dispensers, and furnaces will have their contents stored upon arena start, and restored at arena end. This is useful for providing the arena players with chests with e.g. upgrades or food.
    • Added new commands (for the feature above) - /ma addcontainer <name>, /ma delcontainer <name>, /ma containers. These commands work much like the the spawnpoint commands. To add a container, simply look at the container and type /ma addcontainer <name>.
    Changelog (continued)
     
    apes, chakyl, Steffion and 64 others like this.
  2. Offline

    Petomatick

    I love the fact how proffesionaly ignored I just became :p
     
  3. Offline

    Snaipe

    shall I suggest a mob-removing option at the end of the arena, whithin the chunks where the arena region is ?
     
  4. Offline

    phrstbrn

    Here we go, I added sign based support for the join, spectate, leave commands. Sent pull request.

    https://github.com/garbagemule/MobArena/pull/43

    I see. I'll be honest I didn't dig too deep into the configuration :p

    Either way, I sent a pull request with the actual feature implementation I was talking about, the author can take it or leave it :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
    BadDog likes this.
  5. Offline

    Petomatick

    And yet again discussion continues as allways.
     
  6. Offline

    sShaDOhsS

    Hi, here's my error: http://pastebin.com/1P9A3hL0
    I'm getting it on startup of the server. The CB version is 1317 and the MobArena version is 0.94.3.11.
    EDIT1: Here's the config.yml: http://pastebin.com/5jrvdmFP
    EDIT2:
    -- Solved! --
    "global-settings:" got into the lines with the '#''s.
     
  7. Offline

    xXAsmoXx

    Im having trouble understanding what your problem is Peto,
    are the commands not working at all?
    do they execute but nothing happens?
    what permissions plugin are you using?
    have you tried setting up a custom arena from scratch?
     
  8. Offline

    garbagemule

    @phrstbrn - Like xXAsmoXx says, setting the max-join-distance to 10 or something like that, and then putting up signs with CommandSigns would accomplish what you're trying to do :) It would prevent players from joining with the commands unless they're right up against the arena, and thus the signs would be more convenient. Thanks for the pull request though! That's very considerate of you :) It doesn't quite follow my conventions, so I'm not going to merge, but I will definitely consider adding it in - perhaps tie it in when I figure out how the leaderboards custom sorting should work out with signs!

    @BadDog - Thanks for the good luck wishes! ^_^

    @Petomatick - First of all, how are you being ignored? I haven't made any replies to the thread since you posted :confused: You can't expect everyone else to stop posting until you've had an answer :confused: Besides, even if I -did- ignore you, I feel completely entitled to do so, since you did not provide any pastebin of your stacktrace (there's a big, red "disclaimer" in the main post about this). Thanks for posting your config-file, however your stacktrace is much more important. Look in the server log.

    @xXAsmoXx - Thanks for taking the time to do some more research on the matter. I haven't looked at the source code of NoCheat and CFBanner, so I'm not 100% sure how they operate, but from the data you've provided, it looks like the permissions checks are made maybe once or twice in the respective plugins, i.e. NoCheat checks if the user is flying only after they type a command or something along those lines. If that is indeed the case, the problem lies with NoCheat and CFBanner, since they "should" technically do periodic checks to see if the player still has permission; it is completely fair that they don't, though, as it does involve a bit of extra "bloat", and how could they honestly be expected to anticipate the permissions changing on-the-fly like that? On the other hand, if NoCheat and CFBanner DO make periodic checks, I'm at a complete loss as to what's causing this issue. It seems like MobArena is giving/taking the permissions properly, since the /spawn and /tp tests were successful.

    @Snaipe - Your suggestion is completely fair, but the issue is that it's hard to determine if the mobs outside the region should be removed or not - consider a normal server with monster spawning enabled; then the monsters shouldn't be removed. Could you try shrinking the arena region, for testing purposes, and see if it alleviates the issue?

    @sShaDOhsS - Glad you found your problem :)
     
  9. Offline

    spurf

    it works fine but no one else can join it says "you are not allowed to do that"can you help me?
     
  10. Offline

    jeranamo

    Ever since this plugin has been installed, any new player that joins my server for the first time spawns in the spectator area of one of my arenas. This is just when they are joining the server NOT using the actual /ma join command. I have confirmed that the level.dat has the correct spawn. What is messed up here and how can I fix it?
     
  11. Offline

    BadDog

    @garbagemule
    You're welcome! I've set up some more arrangements to the arena with the feeling and thoughts given by my players after they tested it and they really enjoyed this version! (I also set up a beach tiki bar — with volcano and all — behind the town hall and facing the sea, where we'll enjoy mojitos after the testing when you come haha! :cool:)
     
  12. I'm coming in late to this, but CommandSigns is what you are looking for. I use it on my server just for this purpose. All it does is 'run' the command as if the user used the /ma join/spectate/leave themselves.
     
  13. Offline

    columb

    Why grass (Not block) wouldn't restore?
    Code:
    protect:true
    force restore:false
    softrestore:false
    And..
    I dont have any economy plugins installed.

    rewards:
    waves: every:
    '3': coal
    '5': iron
    '10': slime
    after:
    '7': stone:10
    '13': log:5
    '16': diamond_sword




     
  14. Offline

    Flamers

    @spurf http://www.youtube.com/watch?v=ml4cS-Ej5C0 End bit. Setup the permissions.

    @jeranamo I bet you typed /set spawn there. It's another plugin interfering :) (Essentials, SpawnX etc)

    @columb Seriously have you even watched the video I created? I CLEARLY said do not use names use item ids and you still don't listen. Until you listen to people you will get no help as it's like smashing my face into a brick wall.
     
  15. Offline

    ACStache

    ah, sorry. I misunderstood then.
    The pull actually makes a lot of sense. It'd be cool to see that! I would personally use it myself even though I'm fairly familiar with all the commands out of laziness :p
     
  16. Offline

    BadDog

    Hi there!

    I have a strange issue I never had before: when an arena is finished, and we're all tp to the spectator area, we're not able to drop things on the ground anymore and we're not tp back to our previous location, afterwards. Doing a /ma config reload or /ma leave fixes this and tp us back to where we were before joining the game. Do I need to change a setting to make it go back to normal behaviour? By the way, no error log in the console. Thanks for any help! :)

    Thanks, I'll link my post above to the GitHub page for reference. And it's not a big deal, the arena is running, it's just too bad my players have to remember the MobArena commands while they didn't have to. But it's no rush for the moment and it can wait until garbagemule has some more time of course. I appreciate that you take the time to help around here, though, ACStache. I try to do so myself whenever I see someone I can help on the forums and other places, but I'm glad to find users when I am facing problems too! ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2018
  17. Offline

    ACStache

    you'll have to disable "share-items-in-arena:", as it's true by default for every arena. Although at that point you allow sharing throughout the entire arena, not just afterwards. I'm not sure if a better alternative is in the works or not, but that's the change you have to make :)
     
  18. Offline

    Sepulzera

    You should disable the hunger and health-regen for active players in a mob-arena, but convert food to heal stuff.
     
  19. Offline

    ACStache

    give FastFood a try, it's garbagemule's other plugin that does just what you're looking for
     
  20. Offline

    BadDog

    Thanks for your help, ACStache. I might have had trouble explaining the issue we get on our server, but I'll try differently: it used to work without a problem (with the sharing on) and now, with no changes from our side, it seems like even though every fighter is dead and the game is over (the plugin tells us so), we are not warped back to our original location (where we typed /ma join in the first place). The plugin seems to think we are still fighting. Thus, dealing with our dropping items, and so on. Now every player has to type /ma leave, even when the arena game is finished, so as to be teleported back to their original location and be able to drop items once again.

    Now that I tried to explain a bit clearer, there are two things that I can see more clearly too:
    . Our config states that sharing is allowed. Indeed, when playing, we can share food, items, weapons... The fact that it prevents us from dropping items afterwards is quite the same behaviour that the one when we are in the lobby, waiting for others. It's while we're in the lobby and only then that we shouldn't share anything. Strange that it considers we're in that situation when the arena ends.
    . Since it leaves us in the spectator area, I guess it also considers we are in spectating mode. Strange too, the plugin should guess we are done with the game, not spectating, nor in the lobby.

    By the way, reloading the config fixes the problems temporarily: every player is warped back, just like if they did a /ma leave on their own and they can drop items. But the next game has the odd behaviour once again.

    I hope it's explained in a better way. I'm really exhausted right now, and I can understand if my English is suffering from this ^^ Thanks anyway for your time and your wanting to help, that's appreciated!
     
  21. Offline

    ACStache

    @BadDog
    Ah, I misunderstood then. I can check the code and see how it works, but I'm not sure if I can come up with another solution right away. For now, you can try "spectate-on-death: false" so the arena fighters 'leave' after they die, but then they can't watch the rest of the mayhem! Another thing I just thought of is maybe make it so that if you're "spectating", you can't just walk out, so you're forced to "/ma leave" and not worry about not being able to share.

    I believe this stemmed from people asking if sharing could be disabled in the spectator area, as there was a way to exploit taking stuff from the arena.

    reloading the config will fix the problem, as you say, because it force ends all arenas. If players are 'spectating' without being at the arena, then that means an arena is considered active, and it will end it and dump the players back to where they joined from.

    Edit: @garbagemule Submitted a Pull request that might help alleviate this issue. See Here
     
  22. Offline

    grindle2000

    I was wondering if there was anyway to make Arena listen for world load events so that it will load itself only after all worlds have loaded.

    I am using xcraftgate as my world loader and it works great. The only problem i am having is that Arena tries to load before all the worlds are completely loaded and so it shows a error about the world for that arena doesnt exist.

    I can get around this error by reloading the MobArena plugin after the server has finished loading, so it isnt a deal breaker or anything, but a option to have it load last or at least after all the world load events have finished would be great.
     
  23. Offline

    columb

    I guess, Developers wiki more valuable than fan-made video, but okay.
     
  24. Offline

    Flamers

    @grindle2000 I think it's more to do with how xcraftgate handles world loading as MA works fine with other multiworld plugins (multiverse etc)

    @columb Please go away.

    @hiro24 no but you can make an unbeatable boss if you want

    *fail typo fixed :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  25. Offline

    Krapinou

    Somebody can give to me an exemple of the config.0yml with boss, Please ?
    Because I can't set it up :/
    Thank you
     
  26. Offline

    nuksrule

    i cant place any blocks any where in the map help me please!!!!!!
     
  27. Offline

    kyozo_43

    Code:
    2011-10-21 07:57:50 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-21 07:57:50 [INFO] Loading properties
    2011-10-21 07:57:50 [INFO] Starting Minecraft server on 5.59.45.240:25565
    2011-10-21 07:57:50 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-10-21 07:57:50 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-10-21 07:57:50 [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-10-21 07:57:50 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-10-21 07:57:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)
    2011-10-21 07:57:50 [INFO] Preparing level "world"
    2011-10-21 07:57:50 [INFO] Default game type: 0
    2011-10-21 07:57:50 [INFO] Preparing start region for level 0 (Seed: -84552784)
    2011-10-21 07:57:51 [INFO] [MobArena] No payment method found!
    2011-10-21 07:57:51 [SEVERE] Error occurred while enabling MobArena v0.94.3.22 (Is it up to date?): [MobArena] ERROR! World for arena 'Kyozo' does not exist!
    java.lang.NullPointerException: [MobArena] ERROR! World for arena 'Kyozo' does not exist!
        at com.garbagemule.MobArena.Arena.<init>(Arena.java:132)
        at com.garbagemule.MobArena.ArenaMaster.loadArenas(ArenaMaster.java:252)
        at com.garbagemule.MobArena.ArenaMaster.initialize(ArenaMaster.java:186)
        at com.garbagemule.MobArena.MobArena.onEnable(MobArena.java:78)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-21 07:57:51 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-21 07:57:51 [INFO] Done (0.088s)! For help, type "help" or "?"
    2011-10-21 07:57:51 [INFO] New max size: 484
    2011-10-21 07:57:51 [INFO] New max size: 784
    2011-10-21 07:58:04 [INFO] CONSOLE: Stopping the server..
    2011-10-21 07:58:04 [INFO] Stopping server
    2011-10-21 07:58:04 [INFO] [MobArena] disabled.
    2011-10-21 07:58:04 [INFO] Saving chunks
    2011-10-21 07:58:05 [INFO] Stopping server
    2011-10-21 07:58:05 [INFO] Saving chunks
    That is my server.txt file (config.yml in next post)
    Whenever I start my server I get that [SEVERE] error, and in turn, whenever I try using a /ma command ... I get an in-game error -
    [​IMG]
     
  28. Offline

    Flamers

  29. Offline

    hiro24

    Is there a way to set up a specific number of waves, instead of infinite? Like... can I set an arena to only run 5 waves, then kick the players out?
     
  30. Offline

    BadDog

    @Flamers
    Even though we don't need it in our arena, I like this idea :cool:
     
  31. Offline

    Flamers

    A little teaser of what I'm building:

    [​IMG]
     

Share This Page