Inactive [FUN] Scroll of Random Uselessness 2.2 - Just as the name implies [1.2.3 COMPATIBLE] [1.1-R6/1988]

Discussion in 'Inactive/Unsupported Plugins' started by Eevables, Jun 30, 2011.

  1. Offline

    Eevables

    Scroll of Random Uselessness - Just as the name implies!
    Version: v2.2

    Oh, look. I found a bug.
    SoRU 2.2_01 will be coming shortly...
    A newly generated configuration is required for this update!

    To maintain compatibility with several servers still running 1.1, 1.2.3-exclusive content (mobs, items, etc) have not been added into the plugin. That's not to say that the plugin won't work just fine on any build above 1988!

    (As of 2.2, Scroll of Random Uselessness no longer supports Permissions 3.x. The local obfuscator apparently found my use of "prehistoric" technology appalling. I apologize.)


    A scroll of random uselessness. What do you think it does? What do you think it can do?

    Finally give all those reeds a useless use with Scroll of Random Uselessness! Simply read (use) the scroll (paper) and the effects can range from a useless statement to changing your environment to random items falling from the sky, or even temporary invincibility!
    In the words of a friend:
    Features:
    • Gives paper a new and ever-changing use
    • Uses Permissions if, for some reason, you don't want players reading scrolls
    • Has further permission nodes defined for each individual possible action, allowing for customization of scrolls within your groups
    • Several useless (but hopefully amusing) dud messages
    • Messages are colored by helpfulness (or inherent dangerousness)
    • Can spawn passive, neutral, and hostile mobs around you
    • Has the ability to change the environment around you, up to and including turning a nearby stone block into diamond ore
    • Cake
    • Can heal the player
    • Can give the player temporary (10-second) invincibility
    • Has the chance to drop a random item of a random amount from the sky to the player
    • More cake
    • The ability to vomit up previously eaten porkchops
    • The chance to be a lightningrod for a split-second
    • Can randomly teleport you to another player
    • Can cause an explosion where you are standing
    Full list of possible actions:
    Show Spoiler

    • Several useless texts
    • Chance to be hit by a bolt of lightning
    • Puddles of water form around you
    • Puddles of lava form around you
    • Nearby stone can turn into diamond ore
    • A cake forms on the block you're standing on
    • Sheep, pigs, cows, chickens, squids and wolves can spawn around you
    • Zombies, skeletons, spiders, zombie pigmen, ghasts, silverfish, endermen, blazes, magma cubes, snowmen, mushroom cows, and creepers can spawn around you
    • Herobrine may appear
    • Scroll may not be used - no bonus effect
    • Cooked porkchops spawn from you
    • Health healed
    • Temporary invincibility
    • Random items will fall from the sky
    • Explosions can occur right where you're standing
    • You can be teleported to another player

    Permissions nodes:
    Show Spoiler

    ScrollOfRandomUselessness.canUse
    Necessary for anyone to use a scroll

    ScrollOfRandomUselessness.event.other.teleportation
    ScrollOfRandomUselessness.event.other.acquirement
    ScrollOfRandomUselessness.event.other.godmode
    ScrollOfRandomUselessness.event.other.healhigh
    ScrollOfRandomUselessness.event.other.healmed
    ScrollOfRandomUselessness.event.other.heallow
    ScrollOfRandomUselessness.event.other.porkchops
    ScrollOfRandomUselessness.event.other.*

    ScrollOfRandomUselessness.event.entity.cow
    ScrollOfRandomUselessness.event.entity.pig
    ScrollOfRandomUselessness.event.entity.sheep
    ScrollOfRandomUselessness.event.entity.chicken
    ScrollOfRandomUselessness.event.entity.wolf
    ScrollOfRandomUselessness.event.entity.squid
    ScrollOfRandomUselessness.event.entity.zombie
    ScrollOfRandomUselessness.event.entity.skeleton
    ScrollOfRandomUselessness.event.entity.spider
    ScrollOfRandomUselessness.event.entity.pigzombie
    ScrollOfRandomUselessness.event.entity.ghast
    ScrollOfRandomUselessness.event.entity.creeper
    ScrollOfRandomUselessness.event.entity.slime
    ScrollOfRandomUselessness.event.entity.snowman
    ScrollOfRandomUselessness.event.entity.magmacube
    ScrollOfRandomUselessness.event.entity.blaze
    ScrollOfRandomUselessness.event.entity.mushroomcow
    ScrollOfRandomUselessness.event.entity.enderman
    ScrollOfRandomUselessness.event.entity.silverfish
    ScrollOfRandomUselessness.event.entity.ocelot
    ScrollOfRandomUselessness.event.entity.irongolem
    ScrollOfRandomUselessness.event.entity.villager
    ScrollOfRandomUselessness.event.entity.*

    ScrollOfRandomUselessness.event.environment.lightning
    ScrollOfRandomUselessness.event.environment.water
    ScrollOfRandomUselessness.event.environment.lava
    ScrollOfRandomUselessness.event.environment.diamond
    ScrollOfRandomUselessness.event.environment.cake
    ScrollOfRandomUselessness.event.environment.*

    ScrollOfRandomUselessness.event.*
    to give your players access to all actions

    ScrollOfRandomUselessness.*
    Solves all of your problems, and even mows your lawn!

    Download: http://dl.dropbox.com/u/14275037/Scroll_Of_Random_Uselessness_v2.2_m1.1.jar

    Ideas:
    Ideas I am currently thinking about implementing - comments would help
    • Having a larger range of Useless messages... Admins can define their own random statements.
    • Implementing SuperPerms Done.
    • Getting around to removing the useless block comments all throughout the PlayerListener Done. Entire code was re-written in the process.
    Issues:
    • Balance Server administrators can now define the chance percentages within the configuration
    Changelog:
    Because the plugin has been in use on some servers before its official Bukkit release, its entire changelog from 1.0 will be listed.

    Show Spoiler

    Version 2.2_01 (NOT RELEASED YET)
    • I'm kind of a clueless idiot and forgot to update some numbers within the entity spawner. It doesn't exactly cause any crashes, but if you want things like magma cubes to *actually spawn*, you might want this update...
    Version 2.2 (2.1 kind of derped into here, I lost count of my version numbers!):
    • Completely rewrote code. Crashes should no longer occur.
    • Compatible with mostly any CraftBukkit 1.2.3 build (There are no kitties available in here yet in order to maintain backwards compatibility with 1.1 RBs!)
    • Several new configuration options, including the ability to add your own strings as useless statements!
    • General configuration organization.
    • The local obfuscator made me remove Permissions 3.x support. I apologize.
    • Several other smaller changes.
    Version 2.0 (pretend 1.9 is in here as well):
    • Added permission nodes for every individual action
    Version 1.8:
    • Accounted for the new Silverfish and Endermen being spawned, and gave appropriate weights to them. Also expanded Acquirement to allow for the new items.
    • This was a little late...
    Version 1.7:
    • Added cooldowns! Editable in the config file, disabled by default. The cooldown time records in a double, so decimals are accepted.
    • Added weights to the config file! The numbers given are clarified as percent chances (i.e., 20% chance you can teleport.)
    - The plugin works this way: It rolls a category of action, then rolls an individual action within that category. From there, it rolls a dice to see if it should execute that action or redirect to a useless statement. The weights you give it in the config clarify the chance of executing that action - therefore, if it is 100 out of 100, the action will always execute - but only if it is rolled in the first place.
    • Added the ability for explosions to occur
    • Added the ability to get teleported to another player
    • Fixed a silly issue where people using Permissions would get slightly different chances from people who weren't using Permissions.
    Version 1.6
    • Found and fixed several bugs, including banned items dropping from Acquirement and strange config file reverting. Damn you, recursion!
    • At request, a new config option has been added to change how many items may drop from Acquirement, at most.
    Version 1.5
    • Added a config file
    • At request, item used as scroll can now be changed in the config
    • At request, Water and lava will no longer overwrite important blocks - these blocks are configurable in the config.yml
    • The blocks barred from being dropped by Acquirement are configurable in the config
    • At request, Permissions has been implemented - make sure to add the ScrollOfRandomUselessness.canUse node to your players!
    • At request, appearance of useless messages has been lowered... slightly
    • At request and upon rare occasion, Herobrine will make an appearance
    Version 1.4_03
    • Raised chances for Acquirement again (40%).
    • The plugin can now spawn Chickens.
    Version 1.4_02
    • Lowered how often water would be created around you.
    • Due to the severe responses of players getting acid reflux, the chance to vomit up previously eaten porkchops has been lowered.
    • Increased the chance of Acquirement by 12.5%.
    • Lowered the chance of Ghasts and Creepers spawning on a victim.
    Version 1.4_01
    • Changed the color of Ghast spawning to dark red to make the inherent danger of a giant, flying, fireball-shooting jellyfish a little more noticeable.
    Version 1.4
    • Added the possibility of getting a cake where you're standing.
    Version 1.3
    • Added Acquirement - it is now possible for a random item of a random amount to fall from the sky to you!
    • Added the ability for Creepers to be spawned.
    Version 1.0
    • Release
     
    mruczek, Noppoly and darklust like this.
  2. Offline

    FloppyDingo

    Huzzah! Thank you!
     
  3. Offline

    l0rdmuffin

    oh lol. just an idea
     
  4. Offline

    Hampi1337

    How do i change the usage of the scroll to all users... sry for such a noob questin.. Could any 1 link there permission so i can just copy it and try to learn. ty
     
  5. Offline

    Eevables

    The permission nodes are listed in the spoiler under "Permission nodes".
    I personally don't use SuperPerms directly, so I can't give you a file to look over. I apologize.
     
  6. Offline

    Hampi1337

    But could you change the default to not op :)
     
  7. Offline

    Eevables

    The default was set to not op a while ago at the request of several members who wanted to use this as a donator permission.
    Making it default to non-ops would be contradicting what I worked on previously.

    I suppose that I could implement an "allow-all-players" node in the configuration to solve this, but I am not able to get around to that right now. Are you willing to wait a few days? I will gladly do it for you if you will give me the time.
     
  8. Offline

    Hampi1337

    Yes that would be lovely :)
     
  9. Offline

    PsychoNecrosis

    No permission to deny the explosions?
     
  10. Offline

    sharkck

    I continuously get the following messages when a NON OP tries to use paper.
    [SEVERE] Could not pass event PlayerInteractEvent to Scroll of Random Uselessness

    If I give them OP, they can then use the paper without issue. I am using the 1.2.5-R1.0 build of CraftBukkit with PermissionsBukkit. I even set the permissions node that says it will solve everything and cut my grass and my grass still needs to be cut!
     
  11. Offline

    Foerster44

    Will this be updated?
     

Share This Page