Custom Gravity
Custom Gravity
Thanks for 2k Downloads!!
Current Version: 0.5
Development Version: 0.5.1
Craftbukkit version: 1.7.9 R0.1 Development Build
Source codes: Click Here
Features
- Give your self potion with commands.
- Enable/Disable commands per world without using permission.
- Specify what gravity level in each world.
Commands and Permissions
Command | Function | Permission |
---|---|---|
/cg | This command is the help command | none |
/cg [gravity level] | This command set your gravity | customgravity.* |
/cg set [gravity level] [player] | This command let you change others gravity | customgravity.set |
/cg remove | This command remove all gravity effects | customgravity.remove |
/cg level | This command shows all gravity levels | customgravity.level |
/cg info | This command shows info about the plugin | none |
/cg reload | This command reload the config | customgravity.admin |
Gravity Levels
- 0 : This level works like "/cg remove".
- 1 : This leve add slow.
- 2 : This leve add slow 2.
- 3 : This leve add slow 3.
- 4 : This leve add slow 4.
- 5 : This leve add slow 5.
- -1 : This level add speed and jump.
- -2 : This level add speed 1 and jump 2.
- -3 : This level add speed 1 and jump 3.
- -4 : This level add speed 1 and jump 4.
- -5 : This level add speed 1 and jump 5.
- -6 : This level gives you 5 minutes fly.
Permission nodes
Signs
To see how the signs looks like and how to make them. Click Here
Already Known bugs
Player cant go from a higher gravity and go down to a lower gravity.(Fixed in 0.2 bugfix)Config.yml don't work.(Fixed in 0.3)The prefix to all plugin have [SP] not [CG](Fixed in 0.2.5)The permission don't work.(Fixed in 0.2.5)No cooldowns on commands or signs.No comments in the config.yml (Will be fixed in 0.4)Commands gives errors in consol
Tutorial
Made by TheWillJa Go in and give it a like and remember to subscribe to him.
Support
If you get any issues you have to make a ticket and i will try to fix it as soon as possible!
To-Do
Add Config(Added in 0.3)Add per world(Added in 0.3 and a better version in 0.3.1)Do it able to chance others gravity(Will be added in 0.4)- Hook it into Worldedit and essentials
Gravity effects will not remove with milkMake the gravity levels more physical(Done in 0.2.5)
If you have any suggestions feel free to make a comment!
Auto Update
Custom Gravity are using Updater, that means the plugin can update if you enable in the config.yml. You can enable and disable it in the config.yml, it is default set to false.
MCStats
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Change log
For a full change list and a list of new updates features. Click here
The plugin looks good because i want to make a space server with 0 gravity on the moon!!
Even though I've got it disabled in the settings, the plugin still gives everyone who logs into the server a 'gravity chooser' stick. You're the only one with a working gravity plugin ANYWHERE; please help!!
So, I installed this plugin the way I do with most plugins, but the server isn't recognizing Custom Gravity at all. I've been looking everywhere for a tutorial on how to get it to work, but can't find anything anywhere! Can someone please tell me how to install it?
@shadow5353
i did hehe didnt work either.. i left u a message in ur inbox. thanks for the update! i will try to download another spigot or bukkit .jar file. if u can link me the one you use would be cool! :)
@Kazathur92
Maybe try and rename the plugin to just "CustomGravity" instead of "CustomGravit-2"
@shadow5353
its working now! but! now it gives me this error O.o
users-imac:~ user$ /Users/user/Desktop/Minecraft/minecraft\ woot/New\ Server\ 2014/Start.command ; exit; Loading libraries, please wait... [03:44:06 INFO]: Starting minecraft server version 1.7.9 [03:44:06 INFO]: Loading properties [03:44:06 INFO]: Default game type: SURVIVAL [03:44:07 INFO]: This server is running CraftBukkit version git-Spigot-1494 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT) [03:44:07 INFO]: Server Ping Player Sample Count: 12 [03:44:07 INFO]: Using 4 threads for Netty based IO [03:44:07 INFO]: Generating keypair [03:44:07 INFO]: Starting Minecraft server on *:25565 [03:44:08 ERROR]: Could not load 'plugins/CustonGravity-2.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/shadow5353/customgravity/CustomGravity : Unsupported major.minor version 51.0
what does this mean? do i have to get a more recent version of my .jar?
@shadow5353
sorry.. i went to this site http://www.spigotmc.org/wiki/changing-permgen-size/ and it was telling me how to make it work.. i did this:
(i named my spigot file craftbukkit.jar) xD so then i open terminal and do the chmod a+x stuff but when i start it up it says this:
users-imac:~ user$ /Users/user/Desktop/Minecraft/minecraft\ woot/New\ Server\ 2014/Start.command ; exit; Error occurred during initialization of VM Incompatible minimum and maximum heap sizes specified logout
[Process completed]
i try to understand what the site is saying but its hard to understand..its asking me if i use mark2.. i dont even know what that is.. yet.. x.x i know its something very simple im a total idiot for not knowing.. trust me i have learned so much just by looking up stuff that i didnt know.. but theres so much xD
@Kazathur92
The server have to have 128M ram. The server are running on java, go to spigot website and try to look on how to change the ram for the server
@Kazathur92
ok so, i tried again, because i remembered that one of the messages that appeared was that I had less than 128m. so i added 2 and 2 together, and it makes sense when u say it doesnt work with less than 120m! but! i dont know how to change this. please help me out. This is what i get, and you can see the message at the top about the 128m. I thought that it was the server that had to have more than 120m, but the message says its java?? O.o im so confused.
users-imac:~ user$ /Users/user/Desktop/Minecraft/minecraft\ woot/New\ Server\ 2014/start.command ; exit; Warning, your max perm gen size is not set or less than 128mb. It is recommended you restart Java with the following argument: -XX:MaxPermSize=128M Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions. Loading libraries, please wait... [03:16:34 INFO]: Starting minecraft server version 1.7.9 [03:16:34 INFO]: Loading properties [03:16:34 INFO]: Default game type: SURVIVAL [03:16:34 INFO]: This server is running CraftBukkit version git-Spigot-1494 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT) [03:16:34 INFO]: Server Ping Player Sample Count: 12 [03:16:34 INFO]: Using 4 threads for Netty based IO [03:16:34 INFO]: Generating keypair [03:16:34 INFO]: Starting Minecraft server on *:25565 [03:16:35 ERROR]: Could not load 'plugins/CustonGravity-2.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/shadow5353/customgravity/CustomGravity : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:358) [craftbukkit.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:135) [craftbukkit.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Spigot-1494] Caused by: java.lang.UnsupportedClassVersionError: me/shadow5353/customgravity/CustomGravity : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Spigot-1494] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65] at java.lang.Class.forName0(Native Method) [?:1.6.0_65] at java.lang.Class.forName(Class.java:249) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit.jar:git-Spigot-1494] ... 6 more @shadow5353
@Kazathur92
You have to startup the server with over 125M Ram, then it should all work fine :D
@shadow5353
Awesome! thank u so much!! so, i just re download normally again? or what do i have to do? :o
@Kazathur92
I have now tested the current version on the latest spigot version. I got no errors at all. Only when I sat down the ram on 120M.
Thank you so much! :D that would be really awesome if u made a version for spigot! yes! you are amazing! :D
@Kazathur92
Hi, Thanks for you like my plugin. I can see that you are using spigot, the current version have not been tested with spigot, but I will try and test the plugin with spigot and after I will make a new version that works with spigot.
hi! I love everything about this plugin. The only downside is that its not working in my bukkit server! :( please someone help me... this is what I get when I start up the server:
users-imac:~ user$ /Users/user/Desktop/Minecraft/minecraft\ woot/New\ Server\ 2014/start.command ; exit; Warning, your max perm gen size is not set or less than 128mb. It is recommended you restart Java with the following argument: -XX:MaxPermSize=128M Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions. Loading libraries, please wait... [04:12:20 INFO]: Starting minecraft server version 1.7.9 [04:12:20 INFO]: Loading properties [04:12:20 INFO]: Default game type: SURVIVAL [04:12:21 INFO]: This server is running CraftBukkit version git-Spigot-1494 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT) [04:12:21 INFO]: Server Ping Player Sample Count: 12 [04:12:21 INFO]: Using 4 threads for Netty based IO [04:12:21 INFO]: Generating keypair [04:12:21 INFO]: Starting Minecraft server on *:25565 [04:12:22 ERROR]: Could not load 'plugins/CustomGravity.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/shadow5353/customgravity/CustomGravity : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:358) [craftbukkit.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:135) [craftbukkit.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Spigot-1494] Caused by: java.lang.UnsupportedClassVersionError: me/shadow5353/customgravity/CustomGravity : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Spigot-1494] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65] at java.lang.Class.forName0(Native Method) [?:1.6.0_65] at java.lang.Class.forName(Class.java:249) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Spigot-1494] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit.jar:git-Spigot-1494] ... 6 more
@MrWillJa
Thank you very much for making this :D I will put it up on the bukkit page so other people can see it :D
https://www.youtube.com/watch?v=3WVM8hEkJ0I
I made a review for you! :D Nice plugin by the way!
@vastrix
I am using potion instead of velocity due to this plugin started as a request where the guy wanted it with potion effects, and since then I have been using potion effects
Best regards Shadow
May i ask..
Why aren't you using velocity modifiers instead of potion effects? :o I just read some stuff somewhere and it looks a lot cleaner tbh :p Haven't tried it tho.. :)
@Wbfw
I have uploaded a new version that will fix this error. It only needs to be approved by BukkitDev