RacesAndClasses

Races | Classes | Traits | Chat | Commands | Configuration | SkillTrees | Permissions | FAQ | Version History
What is RacesAndClasses?
RacesAndClasses (RaC) was made to bring the best RPG experience to Minecraft servers. You are able to customize your own classes and races, making your server a world full of adventure! RaC is inspired by the biggest MMORPG game in the world, known as World Of Warcraft.
Core Features of RaC
- Make different races and classes
- Every part can be customized
- Change the way players chat
- Change gameplay on your server significantly
- Provide RPG experiences to the PvE and PvP environment
- Add spells, totems and other WoW items in Minecraft, without a mod
- Have players choose their own playstyle and gameplay
Plugins with RaC
RaC works with almost any plugin! Mcmmo, heroes, faction and towny. These are the most commonly used plugins for this plugin and they all work 100%
RaC offers plenty of configuration, for each individual server. For example some server owners love the teleport arrow for raiding, and some don't; so It's all up to you.
Developers guide
RaC is as mentioned, a customizable plugin, that also counts for custom traits.
This means, that any developer can make their own traits and make his/her server even more special!
Contacts
If you are having trouble,
- post a comment on the comment section below.
- send a PM.
- Open a ticket / issue in the Issues section
Servers using RacesAndClasses
Important notices
First of all: All these components can be disabled in the config!
Gravity's Updater:
For legal reasons and for uploading this plugin to Bukkit I have to mention, that the plugin has an updating service which connects to 'http://www.curseforge.com/'. This includes:
- Checking the Version of the plugin against the newest release Version.
- Downloading the newest Version if enabled.
Error Uploader:
Also the Plugin uses an Error Uploding Service, which connects to my Domain: www.tobiyas.tk.
This includes:
- Reading Errors from the error.log located at plugins/RacesAndClasses/debug/error.log
- Uploading these errors to my domain (www.tobiyas.tk)
- The Errors are visibly ONLY to me (Tobiyas) and are regularly checked to find and fix bugs faster than via Tickets.
Hidendra's Metrics:
The plugin uses Hidendra's Metrics service and sends Metrics data of your Server to the Metrics at 'http://mcstats.org/'. This includes:
- 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
All these services are optional and can be disabled via Configuration.
UPDATING From 1.1.6 AND OLDER VERSION
If you use the config.raceMaxHealth: ... of a race, this has been removed with 1.1.7.
You now have to use config.healthbonus: ... (as in classes) instead.
You get 20 base health + race healthbonus + class health bonus.
UPDATING FROM 1.0.3 AND OLDER VERSION
If you use
general_saving_savePlayerDataToDB: true
Set this option to false and do a restart with the old Version. For best Use with 1.0.3 (RC 2)! This will convert all File DB related Data to YML data. If you do NOT do this, your PlayerData will be LOST!!!
If you have
general_saving_savePlayerDataToDB: false
you can safely ignore this step.
Known Bugs for Current Version (1.2.0)
Only runs on Bukkit distros using Spigot API (spigot, paper, ...).
-
View User Profile
-
Send Message
Posted Mar 12, 2014@Tobiyas
Well to my surprise the error log is empty.. the debug log shows up from when I ran the plugin on the 3020 Bukkit server (creating database and such)..
btw.. removing the traits only not the directories worked for updating them.. TP arrow trait does still not work tho..
-
View User Profile
-
Send Message
Posted Mar 12, 2014@merlingly
I know that the current version is a bit buggy. The next Version for the next days has MANY bug fixxes. Including some important Inventroy syncs which might bother your server.
The error.log is located in: /plugins/RacesAndClasses/Debug/error.log
If you could take a look where this error happened, that would help me.
-
View User Profile
-
Send Message
Posted Mar 12, 2014@Tobiyas
well I think I kinda solved the issue.. I have them folders from the earlier version (that supported 1.6.4) but I am not sure about the traits.. I guess they needed to be updated as well? because if I look at my file info then those traits are indeed the once created on my computer the same day I installed that 1.6.4 version of your plugin..
Which means they haven't updated!
everything seems to work fine, even tho it seems buggier than usually (obviously)
so reconnecting is often necessary to make traits work.. I haven't tested it through
so I don't know if the traits once they work will stay or if sometimes a relog will be necessary..
I can't seem to get arrow TP trait to work at all.. (that is why I was hoping for them traits to be updated).. I remember that when I ran Bukkit 1.6.4 I had the same issue with arrow trait (you actually fixed a missing trigger on landing there) it really seems as if the same thing is happening again..
edit: some other errors:
21:19:15 [SEVERE] [RacesAndClasses]Error while executing trait: Normal Arrow of holder: Orc event was: PlayerInteractEvent Error was: Index: 1, Size: 1
21:19:15 [SEVERE] [RacesAndClasses]Stacktrace in error.log!
(with this error I had to relog to be actually able to hold the stick (for mage) in my hand.. It would replace it with the item I had before the stick in that slot.. very weird! - relogging made the stick work! error keeps spamming each and every time I use it.. but its traits seem to work just fine)
-
View User Profile
-
Send Message
Posted Mar 12, 2014@merlingly
The plugin has no 'hard depency'. Vault + a permission plugin is preferable. But not needed.
That's strange... It actually can't be that the folder is not created... Have you tried to create the folder per hand? Maybe that will solve the issue.
-
View User Profile
-
Send Message
Posted Mar 12, 2014I am really sry for spamming you here.. but it is kinda really weird I can't seem to be able to get this plugin natively running on a bukkit server (i just dl bukkit official 1.7.2 beta 3020 instead of 3023 (both didn't work for me)..
Running bukkit version 3020 gives me this:
[20:26:04 INFO]: [RacesAndClasses]An Error has occured during startup sequence: null
[20:26:04 ERROR]: [RacesAndClasses]Stacktrace in error.log!
the folders don't get created..
can't seem to find that error log...
I have used this plugin before on a pure bukkit server (not so long ago.. 1month maybe?) however i did not have any issues.. so obviously i am doing something wrong.. am i missing a dependency?..
-
View User Profile
-
Send Message
Posted Mar 12, 2014@Tobiyas
I see... well now since i thought maybe the traits would need to be recreated i deleted the plugin folder in plugins.. and started up the server hoping it would create the folder.. it did not and just shut down... so i dl latest bukkit dev build (2023) and started the server with races and classes and vault installed (in order to get that folder right created) and it ran into this: 19:49:58 [SEVERE] Error occurred while enabling RacesAndClasses v1.0.3 (Is it up to date?) java.lang.ExceptionInInitializerError at de.tobiyas.racesandclasses.persistence.db.AlternateEbeanServerImpl.loadDatabase(AlternateEbeanServerImpl.java:198) at de.tobiyas.racesandclasses.persistence.db.AlternateEbeanServerImpl.initializeDatabase(AlternateEbeanServerImpl.java:109) at de.tobiyas.racesandclasses.persistence.db.AlternateEbeanServerImpl.initializeLocalSQLite(AlternateEbeanServerImpl.java:127) at de.tobiyas.racesandclasses.RacesAndClasses.initEbeanServer(RacesAndClasses.java:623) at de.tobiyas.racesandclasses.RacesAndClasses.getDatabase(RacesAndClasses.java:614) at de.tobiyas.racesandclasses.RacesAndClasses.checkDBAccess(RacesAndClasses.java:532) at de.tobiyas.racesandclasses.RacesAndClasses.fullReload(RacesAndClasses.java:487) at de.tobiyas.racesandclasses.RacesAndClasses.onEnable(RacesAndClasses.java:211) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:284) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:266) at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:315) at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:292) at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:252) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:152) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:114) at com.avaje.ebean.EbeanServerFactory.<clinit>(EbeanServerFactory.java:57) ... 19 more Caused by: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:107) at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:94) at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:112) ... 20 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /Users/gr4vity/Desktop/bukk for plugin creation/MCPC .jar (No such file or directory) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigLoader.java:121) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.load(XmlConfigLoader.java:78) at com.avaje.ebeaninternal.server.core.DefaultServerFactory.<init>(DefaultServerFactory.java:91) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:374) at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:104) ... 22 more Caused by: java.io.FileNotFoundException: /Users/gr4vity/Desktop/bukk for plugin creation/MCPC .jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:215) at java.util.zip.ZipFile.<init>(ZipFile.java:145) at java.util.jar.JarFile.<init>(JarFile.java:153) at java.util.jar.JarFile.<init>(JarFile.java:117) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.checkJar(XmlConfigLoader.java:176) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigLoader.java:110) ... 30 more
I'm kinda screwed at this point.. i have a backup from the plugin folder created by racesandclasses but the tp arrow trait doesn't work..
-
View User Profile
-
Send Message
Posted Mar 12, 2014@merlingly
Okay. The second error is normal, I removed the Trait, because I did not implement it. Removing the file (GrapplingHookTrait.jar) should solve this.
But the ScriptEngine Error is a bit strange. How the hell can this be? I'm catching any error throwen in this block.
The regular spamming is no wonder. The plugin can't load the JavaScript engine. I changed this for the next Version. It should throw no error any more.
-
View User Profile
-
Send Message
Posted Mar 12, 2014@merlingly
well it gives me a second error using the latest version: 18:23:21 [SEVERE] ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider scala.tools.nsc.interpreter.IMain$Factory not found 18:23:21 [SEVERE] [RacesAndClasses]Could not load Java Class: trait/GrapplingHookTrait.class. In: plugins/RacesAndClasses/traits/defaultTraits/magic/GrapplingHookTrait.jar
But! It kinda seems to work.. eventho any action (e.g. choosing class and race) will spam the ScriptEngineManager error... I will try all classes and races see how that works (obviously one trait is not loading) i kinda do not like the spam tho..
Tp arrow doesn't seem to work (jt seems to miss the trigger event) fire/poison/normal works fine..
-
View User Profile
-
Send Message
Posted Mar 12, 2014@Tobiyas
Ok I'll give it a try! thx a lot for your response!
-
View User Profile
-
Send Message
Posted Mar 12, 2014First of all, sorry for the long time not responding. I'm in the middle of some exams and my Bachelor Thesis and my time is very limited at the moment.
Nevertheless I still want to try and fix everthing that is mentioned and upcoming.
Sorry for the long post in advance.
@mrchasez
I looked too late at this. The paste has expired, but I think I looked at it earlier and fixed it. But i'm not 100% sure.
@MateCraft
This should be the same as above.
@Sevlon
Doubles should not make trouble. I'll check that and fix it if something broke along the way.
@Sevlon
Going to test it.
@schtooping
That's strange... :/ But I think this should be related to Vault / PEX. I don't know why this should happen due to my plugin. You could check if any Error occured and report it to me or open a ticket.
@Sevlon
You can do more than 1 potion effect. You just have to give them different names via the 'displayName' flag in the trait. This should not be related to Spigot. Spigot is using Craftbukkit and fixing some shortcommings and other bugs. This might be due to some strange EBean problem. I already experienced some of them, because Bukkit is using a really old version of it. I would recomend to set the saving to NON db (in the config.yml: general_saving_savePlayerDataToDB: false).
@Sevlon
This should not happen. I have no Idea how this can be, since the playerdata per player is a singleton that is immutable in the DB. I'll check that. Also for further versions I might remove the DB support... It's causing more trouble than it should actually fix.
@rediem
Going to check that.
@DewTheMelon
Okay. How about FistDamageTrait. Sounds better than HandDamage. :D Or more KarateTrait. LoL. Just fooling around.
Commas are not supported in numbers. This is related to yml format. You have to use 2.0 instead of 2,0.
@FrancescoDS
I know this error. Just had it some days ago. Just create an empty file named playerdata.yml in the playerData folder. This should solve it temporarly. Or change savings to NON Db in the config.
@DarthRiddle
Awsome. :) I love to see the different uses of the plugin. This keeps getting new ideas for new Traits / Additions.
@tomorrow4268
It should actually work and ONLY show to you the Classes you CAN select related to your Race. If you have no Race, you can select every class I guess... Might change that. But in general the GUI should only provide the Classes / Races that can be selected.
@danmark2312
That's a hard one... Arrows are always problematic. There is no easy way to figgure out if you are in a PVP zone or not. I'll take a look if I can do something about this.
@FrancescoDS
I see. This should actually not happen. The plugin will only kick you out of every group starting with 'race-' and 'class-'. I'll double check that. Maybe I did something wrong. Which Permission plugin are you using?
I always wanted to setup an IRC channel.
Just Setup one. Try #RacesAndClasses in esper.net.
@danmark2312
I'll check that. The cooldown might not work because Admins have a cooldown bypass.
@merlingly
Try the latest version, I think I had fixed that some time back. This is a shortage of MCPC+. It does not contain a Java-Script engine (sadly).
I hope I covered all the Questions. I'll try to fix the bugs mentioned and throw out a new Version today or tomorrow.
-
View User Profile
-
Send Message
Posted Mar 11, 2014I am trying to install this on an FTB/Bukkit server using MCPC+ (build150) (Modpack: FTB-Lite2 1.1.5) I am using your 1.6.4 supported version of Races and Classes and I get this error: [SEVERE] ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider scala.tools.nsc.interpreter.IMain$Factory not found
which pretty much breaks it.. I guess there is no way around that since I am using this mod pack? I would really love to get it to work..
-
View User Profile
-
Send Message
Posted Mar 10, 2014StunArrowTrait: duration: 2 chance: 0.1
People get stunned every time with those settings?
Edit: StunArrowTrait: duration: 2 cooldown: 20
Cooldown diden't work either
-
View User Profile
-
Send Message
Posted Mar 9, 2014I'm getting a really annoying issue with race/class permissions: On my server I disabled the self race/class selection and I use /racforcerace and /racforceclass for managing them with command blocks and other plugins.
The problem is that when I force a race or a class, very often (almost always) the race permission group and the class permission group override the previous permission groups the player had. So, say a player of the 'Novice' group gets forced to the human race, he loses the 'novice' group and gets the race-human one. The same happens with classes.
After some tries to fix it with in-game commands, I started getting a lot of internal errors that ended up preventing me from reloading the plugin or using other commands. I'm going to post them as soon as possible
P.S. may I suggest you to setup a free IRC channel on esper.net? That would be really usefull for quick support
-
View User Profile
-
Send Message
Posted Mar 8, 2014I get the same error as FrancescoDS...
-
View User Profile
-
Send Message
Posted Mar 7, 2014Potion arrows work in no-pvp zones :(
-
View User Profile
-
Send Message
Posted Mar 7, 2014hey i have a problem with my races/classes matrix: i can't choose the corresponding class to a linked race. if i rightclick it it won't do anything like as it is not the corresponding one.
this is my .yml:
Zwerge: [Priester,Schütze,Garde,Ritter]
Dryaden: [Scharfschützin,Jägerin,Spionin,Assassine]
Vampire: [VerfluchterKrieger,Geist,Albtraum,Tageswanderer]
Naturalisten: [Heiler,KampfMagier,Hexer,Warlock]
Orks: [Berserker,Schamane,Bogenschütze,Krieger]
another point is:
for the classes, linked to certain races, may it be possible to make only the selectable classes visible in the GUI? It would be much more clear. Atm for the v1.0.2 (which is working quite nicely) i have little problems but i am in need of a working race/class-matrix :)
thx in advance
tomorrow4268
-
View User Profile
-
Send Message
Posted Mar 6, 2014Loving the new version!
This is how were using your plugin: We have mcmmo installed and have created custom races and classes. Once you figure out what you want to be, skills sets from mcmmo and a few other plugs are in your group selection. This marriage really adds a great ability to create a robust MMO, you can decide if you want to be a farmer, fisher, smith ect. Towns set up so you can sell your goods produced to players ect.
Keep up the good work!
-
View User Profile
-
Send Message
Posted Mar 5, 2014@DewTheMelon
i figured out the issue. I have to wipe the database so when i select a new race it will re-load the race.
-
View User Profile
-
Send Message
Posted Mar 4, 2014With version 1.0.3 (beta 3) I'm getting the following error on startup:
[19:15:11] [Server thread/INFO]: [RacesAndClasses] Enabling RacesAndClasses v1.0.3 [19:15:12] [Server thread/INFO]: [RacesAndClasses]An Error has occured during startup sequence: null [19:15:12] [Server thread/ERROR]: [RacesAndClasses]Stacktrace in error.log!
This is the content of error.log: http://pastebin.com/EUhFbvnz
-EDIT- I temporary fixed it as you explained in a previous comment, by creating a PlayerData directory and placing an empty test.yml file in it
-
View User Profile
-
Send Message
Posted Mar 4, 2014@Sevlon Try "2" instead of "2,0"
Tobiyas. New trait suggestion: HandDamageTrait works like axe/bow/sworddamagetraits, but with fists.