Inactive [MECH] MorePhysics v2.0 - Make Minecraft feel a bit more real.... Or not. [RB-1.2.5]

Discussion in 'Inactive/Unsupported Plugins' started by Taco, Jun 25, 2011.

  1. Offline

    Taco

    MorePhysics

    Wiki:
    Click me!

    Features:
    • Armour now weighs you down!
      • Impedes movement and swimming.
      • If you're too heavy, you won't be able to swim back up!
      • Each piece of armour has its own weight.
    • Boats can now sink!
      • They slowly submerge after taking enough damage, and they will stay submerged until broken.
    • You can disable what you don't want!
      • Like the idea of armour making you heavy, but don't want your boats affected? Just disable it in MorePhysics.properties
    • Armour weight can be adjusted as you see fit!
      • If you think I've misjudged the weights of some armour, you can adjust the weight of every piece.
    • Pistons can launch you, blocks, and other entities!
      • One of my personal favorite features of pistons is revived with this plugin.
      • Don't want it? No worries, it can be disabled just like everything else.
      • Pistons now launch ALL entities, this includes dropped items, arrows, boats, mobs, etc.
    • Certain blocks can make players bounce!
      • To disable this, simply empty the list of blocks in the config.
    • Arrows are more realistic
      • Arrows have different damage based on where they hit you! (Torso, head, legs, etc.)
      • To disable one, but not all of the damage multipliers, simply set it to 1.
    • Minecarts are dangerous!
      • Minecarts can now hit you and do some serious damage! Watch out!
      • Getting hit by a minecart may even send you flying backwards if it's going fast enough!
    Commands:

    - Coming soon!

    Demonstration Video:



    Download:
    Download MorePhysics.zip (.jar version)






















    Download Piston Standalone .zip (.jar version)

    Permissions:
    Permissions will be added with commands.

    Known bugs:
    - None currently.

    Changelog:
    Changes (open)

    v 2.0
    - Added minecarts ability to hit, damage, and launch entities.
    v 1.9.1
    - Fixed some bugs regarding pushed blocks launching random entities.
    - Added aforementioned feature to the config.
    v 1.9:
    - Fixed sand (sort of).
    - Added the ability of upward facing pistons to launch you even if there's a block between you and the piston. (Only a test run, doesn't work with horizontal pistons yet.)
    v. 1.8:
    - Remembered to update the changelog finally.
    - Added adjustable piston strength
    - Added realistic arrows
    - Smoothed out movement by overhauling it.
    v 1.5:
    - Added bouncy blocks.
    - Changed config from .properties to.yml
    v 1.4:
    - Added sand/gravel being launched by pistons (Sort of)
    - Added support for all entities with pistons.
    v 1.3:
    - Fixed jumping (sort of)
    - Added exemption
    - Added support for both Permissions and PermissionsBukkit
    - Added pistons ability to launch entities.
    v 1.2:
    - Fixed movement completely.
    - Added adjustable weights of armour.
    v 1.1:
    - Fixed most of the swaying when a player moves with armour on.
    v 1.0:
    - Initial release

    Source code:
    https://github.com/FriedTaco/MorePhysics
     
  2. Offline

    Minecraft93

    This is impressive. i had the idea of something like this but never found a way to do it. an idea - When Weighted down eat something and for a certain ammount of time you can walk.
    have a certain item you can eat that would act like steriods and last for a whole day and not be weighted down at all.
     
  3. Offline

    Taco

    Thank you for the compliment. I may add that suggestion, though it somewhat takes away from the realisticness (I don't think that's a word, but oh well.) of the plugin. I'm working on adding adjustable weights for every item so people can play with it as they please. I've also posted the source in case anyone's interested. I finally got my gtihub set up and linked to my IDE, so the sources to all my plugins should be up within a day or two.
     
    Mig_B likes this.
  4. Offline

    retsrif

    Nice plugin for role players, and @Taco, i think it's realism :p
     
  5. Offline

    captainawesome7

    Why don't you use Bukkit's standard configuration?
     
    Deleted user likes this.
  6. Offline

    DrAgonmoray

    Wait, wha? details pl0x
     
  7. Offline

    captainawesome7

    well by default your plugin has a config.yml which can be accessed with config = this.getConfiguration();. You can then easily access things in the file. Example (in your plugin's main class):
    Code:
    public Configuration config;
    public Boolean Derp;
    
    public void onEnable() {
        config = this.getConfiguration();
        Derp = config.getBoolean("Derp.Use", true);
    }
        
    That gets the value Use, if it isn't in the file it will put it in with the value true, but if it is in the file and set to false it will set Derp to false. config.yml would look like this:
    Code:
    Derp:
        Use: true
     
  8. Offline

    DrAgonmoray

    @captainawesome7

    o.o Everything I know is a liieee.
    Thanks for the info, I'll use this instead of my Configuration.class I'm using now
     
  9. Offline

    captainawesome7

    I lied! I forgot config.save()!!! :
    Code:
    public Configuration config;
    public Boolean Derp;
    
    public void onEnable() {
        config = this.getConfiguration();
        Derp = config.getBoolean("Derp.Use", true);
        config.save();
    }
        
     
  10. Offline

    shadrxninga

    your missing your plugins version number in the title
     
  11. Offline

    Taco

    o.o... I never knew that existed. I may swap over soon then.

    Fixed. Thank you! I always seem to miss something.
     
  12. Offline

    Taco

    Update: Fixed most of the swaying when a player moves with armour on.
     
    kahlilnc likes this.
  13. Offline

    kahlilnc

    Can you update the title to 1.1?
     
  14. Offline

    Taco

    I missed something again >.< Thank you. I fixed the title.
     
    kahlilnc likes this.
  15. Offline

    kahlilnc

    I underlined the other problem. lol 1.0 still
     
  16. Offline

    Taco

    Uhh... I knew that >_>
     
    kahlilnc likes this.
  17. Offline

    cyberdude

    Moar plx! :D..
    Loving this. Hoping to see more "real" stuff, and configurations.
     
  18. Offline

    Taco

    I'm working on it :p I'm open for ideas, so if you have any, don't hesitate ^^
     
  19. Offline

    cyberdude

    I will if I can remember them again. I (And a few friends) had some ideas a couple of months ago, but can't remember a single one of them.
     
  20. Offline

    compgurusteve

    I seem to be having lots of trouble just walking without armor on, I'm slow and it takes me a few jumps to get up a block.

    Plugins: Plugman WorldEdit WorldGuard chatlog ZeldaChickens PermissionsEx CommandBook MorePhysics SpeedSign RemoteToolKit Craftipedia toolblocks NSCommand

    No Console Errors, I am OP and admin as well.

    v1.1 as well as the latest Craftbukkit (not 953 the one for 1.7.3 from the #bukkit IRC)
     
  21. Offline

    Taco

    I'll look into this, but I recommend using the latest recommended build to avoid bugs.
     
  22. Offline

    compgurusteve

    I'll try this now. I don't really care about the piston exploit atm.

    Same effect :-/ even to players not op/admin. If you want hop onto 206.212.252.166 to see what the exact bug is.

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

    Taco

    The issue was caused by a small typo I made, it's fixed now. Sorry about that :p
     
    compgurusteve likes this.
  24. Offline

    compgurusteve

    Almost perfect :) Boats don't sink with armor on.

    Hrm... been messing around with this some more. Are there different effects for the different types of armor? It's really tough to tell since they all slow you down the same it seems.

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

    Codex Arcanum

    This may be a stupid question, but did you add support for chainmail armor? I only ask because it is impossible to obtain normally, so I wondered if you bothered; given that only a handful of people have some sort of a chainmail-adding mod on their server.
     
    compgurusteve likes this.
  26. Offline

    compgurusteve

    xD I completely forgot about chainmail! ^Support!
     
  27. Offline

    Taco

    Armour should slow you down at different rates, but I do plan on making this work a bit better. Also, I did add chainmail support, not sure why, but it's there if you want it. :p
     
  28. Offline

    Codex Arcanum

    OK, thanks for the answer!
     
  29. Offline

    Taco

    I've fixed movement completely, I'm working on the config but won't be able to finish tonight. The weights of items will not be read yet, but will be probably tomorrow. Expect an update in about 5 minutes and then another some time tomorrow.

    Edit: Update released, post updated, now I'm out of here to go to the premier of the new Harry Potter movie.
     
    compgurusteve and kahlilnc like this.
  30. Offline

    RugRats

    @Taco Jumping needs to be fixed you have to jump 2 times to get over a block.. and your body randomly shutters
     

Share This Page