flibio / jobslite Goto Github PK
View Code? Open in Web Editor NEWJobs plugin for Sponge
Home Page: https://ore.spongepowered.org/Flibio/JobsLite
License: MIT License
Jobs plugin for Sponge
Home Page: https://ore.spongepowered.org/Flibio/JobsLite
License: MIT License
Getting rewards on block place doesn't seem to be working for me on my server(I get no xp or money for a block place.), it does work on block break however.
Server Version:
[01:41:11] [Server thread/INFO]: SpongeForge
Minecraft: 1.10.2
SpongeAPI: 5.0.0-SNAPSHOT-d41be56
SpongeForge: 1.10.2-2044-5.0.0-BETA-1655
Minecraft Forge: 12.18.1.2044
With mod packs out there adding multiple ores and wood etc.. instead of listing all of them (biomes o plenty and forestry for example)
"minecraft:log[axis=y,variant=birch]" {
currency=1.0
exp=0.0
}
"minecraft:log[axis=y,variant=oak]" {
currency=1.0
exp=0.0
}
could you just make something like:
"minecraft:log[axis=y,variant=all]" {
currency=1.0
exp=0.0
}
and then possibly overwrite for special ones so would be something like:
"minecraft:log[axis=y,variant=all]" {
currency=1.0
exp=0.0
}
"minecraft:log[axis=y,variant=oak]" {
currency=2.0
exp=0.0
}
Currently maven is supported. However sponge used gradle and it would nice to have this using gradle too
Hi! Add the lang file/class pleace. I wanna translate your plugin ^_^
MC: 1.10.2
Sponge: spongeforge-1.10.2-2011-5.0.0-BETA-1570.jar
I would like the ability to create a job such as "Miner" where I can restrict the silk touch enchantment from allowing players to gain currency and experience. Currently without this feature players can exploit silk touch by re-mining high valued blocks infinitely.
The Tinkers Lumberjack doesn't pay but when you break a tree. Is there a way to fix this?
Works fine with a diamond axe.
Thanks
When I type /jobs, I want to see the list of whats available. I mean, that's why I typed it. As is, I have to type /jobs join, which implies I need to join one just to see the list.
Need to allow multiple jobs. Maybe a limit to how many they can take in settings.
And if I already have a job when joining something new, it should assume I want to leave the first. Or if I have multiple jobs, pull up a list of what to leave. Getting a message about leaving implies it figured out that I need to leave, so why make me go manually do that. Just assume it by printing that I'll have to leave something first, and ask which.
At job creation, after entering how much experience, it responds with a message about currency.
Hello! I'm trying to configure plugin to work with Forestry.
Plugin generates not corrected config jobsData.conf
lumberjack {
breaks {
"forestry:logs" {
"0[axis=x,variant=lime]" {
currency=1.0
exp=1.0
}
"3[axis=x,variant=cherry]" {
currency=1.0
exp=1.0
}
}
}
When I break a tree, it does not count.
Config must be:
lumberjack {
breaks {
"forestry:logs.0[axis=x,variant=lime]" {
currency=1.0
exp=1.0
}
"forestry:logs.3[axis=x,variant=cherry]" {
currency=1.0
exp=1.0
}
max-jobs
config option not working, when joining to jobs from one /jobs join
menu. Only when command runs on next time.
JobsLite 1.7.0
SpongeForge 1.10.2
Good Evening
I noticed that EconomyLite and JobsLite have not been updated to use Sponge API 7.0 yet. I looks like Economy is working well enough, but Jobs is throwing back an error at server startup. I'll paste that below for you to have a look at whenever you get the chance.
Thanks for all your awesome work on these plugins!
15.07 23:33:32 [Server] ERROR [Sponge]: Could not pass GamePreInitializationEvent$Impl to Plugin{id=jobslite, name=JobsLite, version=1.7.0, description=Sponge jobs plugin., source=mods/JobsLite-1.7.0.jar} 15.07 23:33:32 [Server] INFO java.lang.NoSuchMethodError: org.spongepowered.api.data.DataManager.register(Ljava/lang/Class;Ljava/lang/Class;Lorg/spongepowered/api/data/manipulator/DataManipulatorBuilder;)V 15.07 23:33:32 [Server] INFO at me.flibio.jobslite.JobsLite.onPreInitialize(JobsLite.java:116) ~[JobsLite.class:?] 15.07 23:33:32 [Server] INFO at org.spongepowered.common.event.listener.GamePreInitializationEventListener_JobsLite_onPreInitialize22.handle(Unknown Source) ~[?:?] 15.07 23:33:32 [Server] INFO at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.12-7.0.0-BETA-300] 15.07 23:33:32 [Server] INFO at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:349) [SpongeEventManager.class:1.12-7.0.0-BETA-300] 15.07 23:33:32 [Server] INFO at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:366) [SpongeEventManager.class:1.12-7.0.0-BETA-300] 15.07 23:33:32 [Server] INFO at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:370) [SpongeEventManager.class:1.12-7.0.0-BETA-300] 15.07 23:33:32 [Server] INFO at org.spongepowered.common.SpongeImpl.postState(SpongeImpl.java:205) [SpongeImpl.class:1.12-7.0.0-BETA-300] 15.07 23:33:32 [Server] INFO at org.spongepowered.server.SpongeVanilla.preInitialize(SpongeVanilla.java:125) [SpongeVanilla.class:1.12-7.0.0-BETA-300] 15.07 23:33:32 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.handler$onServerLoad$zog000(SourceFile:1228) [nx.class:?] 15.07 23:33:32 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(SourceFile:114) [nx.class:?] 15.07 23:33:32 [Server] INFO at net.minecraft.server.MinecraftServer.run(SourceFile:434) [MinecraftServer.class:?] 15.07 23:33:32 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Getting the following crash report after added JobsLite. Appears to be a call to a bad MCStats area.
MC: 1.10.2
Sponge: spongeforge-1.10.2-2011-5.0.0-BETA-1570.jar
crash-2016-07-23_17.11.48-server.txt
Hey !
I think that you have to add permissions per job and new actions like breed/craft/enchant .
It would be cool to give a job for a rank and more jobs configurables :D
Thx for reading !
Forge: forge-1.12.2-14.23.1.2587-universal
Sponge: spongeforge-1.12.2-2555-7.1.0-BETA-2831
If you are in a team you should be able to get paid by your leader.
It could be realized with an job creation like /jobs create .... PLAYER
so the PLAYER
is paying for it.
You can join it with an specific permission like jobs.PLAYER.acceptjob
.
While #16 did work for the base /jobs command, the other subcommands still don't work, you'd probably need to update the permissions on the rest of the commands. It still queries the same empty permission as the base /jobs command did.
Also sholdn't the permissions for the base jobs command be jobs.jobs and not jobs as that would give a player every permission under that node.
Hi there, i'm new to starting the plugin but so far i still havent figured out why the ranged weapons such as a bow and arrow dont give XP when killing the mob, but with a sword it does why is this, and is there a fix?
[12:11:19 WARN] [Sponge]: A custom DataBuilder is not extending AbstractDataBuilder! It is recommended that the custom data builder does extend it to gain automated content versioning updates and maintain simplicity. The offending builder's class is: class me.flibio.jobslite.data.JobDataManipulatorBuilder
[12:11:19 WARN] [Sponge]: A custom DataBuilder is not extending AbstractDataBuilder! It is recommended that the custom data builder does extend it to gain automated content versioning updates and maintain simplicity. The offending builder's class is: class me.flibio.jobslite.data.SignJobDataManipulatorBuilder
Hi, not a bug but just wondering why it doesn't have any default jobs in it?
Also is it smart so that if I say add a job called enchanter that it will give money for enchanting, or woodcutter for cutting wood etc?
Users can keep placing the item down and breaking it to make money.
a configurable option (perhaps per job?) that will save the players XP when switching between jobs; This will allow the player to retain the XP in each job; rather than resetting to 0 after every switch
Having a long jobs data config file can cause massive amounts of lag on the server. Is the config file for the configuration reloaded on every block blace/break? If it is, then it should be changed to only reload if the jobs config file has been modified.
The jobs config file is ~27kb on my server, and it causes about a 150-250ms lag spike on every block place/break.
When ever a player right clicks to harvest or interact with objects, a message from JobsLite is sent to Sponge and causes an error resulting in player crash.
I believe i should be able add blocks which earn money to a job via in-game to make it easier to update.
Like many other plugins of API 7.0 to 7.3 changes make it necessary to close pooled connections to databases as some stuff within Java changed.
Currently your plugin, when used with an external DB, will establish new sleeping connections until max_connections
is hit denying any other plugin access to the DB and also putting the DB under unnecessary load.
The /jobs command can't be accessed outside of having the permissions-default(all permissions) option set in permissions ex.
this is the debug output from the pex debug, first one was on a group that doesn't have permissions-default set.
[01:31:02] [Server thread/INFO] [io.github.hsyyid.essentialcmds/]: [cartman2000] executed command jobs
[01:31:02] [Server thread/INFO] [ninja.leaping.permissionsex/]: Permission checked in [world=world, localport=25565, remoteip=192.168.1.1, localip=192.168.1.90, dimension=overworld, localhost=mcserver.cartman-2000.net] for user e6208316-f3fc-4495-ba2e-9eb1ab2aba16: 0
[01:25:53] [Server thread/INFO] [ninja.leaping.permissionsex/]: Permission essentialcmds.afk.kick.false checked in [world=world, localport=25565, remoteip=192.168.1.1, localip=192.168.1.90, dimension=overworld, localhost=mcserver.cartman-2000.net] for user e6208316-f3fc-4495-ba2e-9eb1ab2aba16: 1
[01:25:53] [Server thread/INFO] [io.github.hsyyid.essentialcmds/]: [cartman2000] executed command jobs join
[01:25:53] [Server thread/INFO] [ninja.leaping.permissionsex/]: Permission checked in [world=world, localport=25565, remoteip=192.168.1.1, localip=192.168.1.90, dimension=overworld, localhost=mcserver.cartman-2000.net] for user e6208316-f3fc-4495-ba2e-9eb1ab2aba16: 1
[01:25:53] [Server thread/INFO] [ninja.leaping.permissionsex/]: Permission checked in [world=world, localport=25565, remoteip=192.168.1.1, localip=192.168.1.90, dimension=overworld, localhost=mcserver.cartman-2000.net] for user e6208316-f3fc-4495-ba2e-9eb1ab2aba16: 1
Server Version:
[01:41:11] [Server thread/INFO]: SpongeForge
Minecraft: 1.10.2
SpongeAPI: 5.0.0-SNAPSHOT-d41be56
SpongeForge: 1.10.2-2044-5.0.0-BETA-1655
Minecraft Forge: 12.18.1.2044
This code should definitely be switched over to Sponge's scheduling service. Creating your own thread has several downsides and safety issues that the Sponge scheduling service handles neatly.
https://github.com/Flibio/JobsLite/blob/master/src/me/Flibio/JobsLite/Main.java#L153
Hi,
First of all I love your sponge plugin economy lite & jobs lite.
I use MySQL setup & For an easy management when you have multiple plugins is it possible add "prefix setup".
Best regards
P.S I post same suggestion for jobs lite
Thi plugin will need to be updated to support the newest sponge versions. I'm currently getting this error in the console whenever someone is interacting with something on the server.
[21:19:26] [Server thread/ERROR] [Sponge]: Could not pass ChangeBlockEvent$Break$Impl to Plugin{id=jobslite, name=JobsLite, version=1.6.1, description=Sponge jobs plugin., source=C:\home\cartman2000\minecraft\mods\JobsLite-5.0.0-1.6.1.jar}
java.lang.NoClassDefFoundError: Could not initialize class me.flibio.jobslite.data.LiteKeys
at me.flibio.jobslite.listeners.SignListeners.onBlockBreak(SignListeners.java:129) ~[SignListeners.class:?]
at org.spongepowered.common.event.listener.BreakListener_SignListeners_onBlockBreak75.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:353) ~[SpongeModEventManager.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:336) ~[SpongeModEventManager.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:381) ~[SpongeModEventManager.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:366) ~[SpongeModEventManager.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:140) ~[SpongeImpl.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.TrackingUtil.iterateChangeBlockEvents(TrackingUtil.java:538) ~[TrackingUtil.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.TrackingUtil.processBlockCaptures(TrackingUtil.java:458) ~[TrackingUtil.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.phase.tick.BlockTickPhaseState.lambda$processPostTick$1(BlockTickPhaseState.java:80) ~[BlockTickPhaseState.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.CapturedSupplier.ifPresentAndNotEmpty(CapturedSupplier.java:57) [CapturedSupplier.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.phase.tick.BlockTickPhaseState.processPostTick(BlockTickPhaseState.java:80) [BlockTickPhaseState.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.phase.tick.TickPhase.unwind(TickPhase.java:67) [TickPhase.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:184) [CauseTracker.class:1.10.2-2092-5.0.0-BETA-1753]
at org.spongepowered.common.event.tracking.TrackingUtil.randomTickBlock(TrackingUtil.java:243) [TrackingUtil.class:1.10.2-2092-5.0.0-BETA-1753]
at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:644) [ls.class:?]
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:220) [ls.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:698) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
I'm not sure what is causing this error, I double checked to make sure syntax was correct and it looked fine. My only guess is that it didn't like some of the mod blocks I had put into it.
30.11 07:57:01 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_111] 30.11 07:57:01 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?] 30.11 07:57:01 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:121) [ld.class:?] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:328) [FMLCommonHandler.class:?] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98) [FMLServerHandler.class:?] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:614) [Loader.class:?] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) [LoadController.class:?] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.common.LoadController.redirect$onPost$zzb000(LoadController.java:52) [LoadController.class:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) [LoadController.class:?] 30.11 07:57:01 [Server] INFO at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239) [LoadController.class:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?] 30.11 07:57:01 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111] 30.11 07:57:01 [Server] INFO at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:221) [SpongeMod.class:1.10.2-2123-5.1.0-BETA-1879] 30.11 07:57:01 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:398) [SpongeModEventManager.class:1.10.2-2123-5.1.0-BETA-1879] 30.11 07:57:01 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:357) [SpongeModEventManager.class:1.10.2-2123-5.1.0-BETA-1879] 30.11 07:57:01 [Server] INFO at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2123-5.1.0-BETA-1879] 30.11 07:57:01 [Server] INFO at org.spongepowered.common.event.listener.GamePreInitializationEventListener_TotalEconomy_preInit31.handle(Unknown Source) ~[?:?] 30.11 07:57:01 [Server] INFO at com.erigitic.main.TotalEconomy.preInit(TotalEconomy.java:124) ~[TotalEconomy.class:?] 30.11 07:57:01 [Server] INFO at com.erigitic.jobs.TEJobs.(TEJobs.java:100) ~[TEJobs.class:?] 30.11 07:57:01 [Server] INFO at com.erigitic.jobs.TEJobs.startSalaryTask(TEJobs.java:123) ~[TEJobs.class:?] 30.11 07:57:01 [Server] INFO java.lang.NullPointerException 30.11 07:57:01 [Server] Server thread/ERROR [Sponge]: Could not pass FMLPreInitializationEvent to Plugin{id=totaleconomy, name=Total Economy, version=1.5.1, description=All in one economy plugin for Minecraft/Sponge, source=/mods/TotalEconomy-v1.5.1.jar} 30.11 07:57:01 [Server] Server thread/WARN [totaleconomy]: Could not create jobs config file!
It would be awesome if its possible to "join a Job" over a Sign, because that would be looking greater as a "Command" for a RPG/MMO Server =)
Like=
[Job]
Miner
So if someone rightclick the Sign he "accept" the Job Miner.
Greetings =)
Edit: I translate the messages.conf today and found that;
"sign.invalid"="&cInvalid sign format!"
"sign.nojob"="&cThat job could not be found!"
"sign.nopermission"="&cYou may not edit this sign!"
"sign.success"="&aSuccessfully created a job sign!"
Now i got the question to myself, if im blind or it doesnt exist a "Wiki" for that.
Hope you can explain me that =)
Hi guys and thanks for your work.
I excuse myself in advance for my awfull english.
I would like to know the actions that this mod takes into account.
From what i know they are:
Break
Place
Kill and... thats 'all?
IS there more or will there be more? If i remember correctly, on Jobs Reborn from Bukkit they were:
Fishing
Craft
Smelt - by smelting items
Brewing - by making potions
Enchanting - by enchanting items
Repair - by repairing items
Breed - by breading animals
Tame - by taming animals
Milk - for milking cows
Dye - for dyeing leather armour
Shear - for shearing sheep's by color
Explore - for exploring map
Custom kill - by killing player with specific profession
and others...
Will we have these features in the futur or not?
Thanks for your answer in advance, sincerely, your french mate!
With Tinker's construct, the silk touch modifier does not pay when breaking blocks. Even if silk touch is set to "true" for the job.
Tinker's Construct Version 2.12.0.113
JobsLite 1.2.0
Whether its just bread or some of the other things from bigger mods like pams. Give someone an incentive to earn money cooking.
SpongeForge v1.12.2-14.23.2.2611
Sponge APIv7.1
When breaking a block with an enchanted tool the following error occurs and there is no currency payout.
[18:45:45] [pool-3-thread-11/ERROR] [Sponge]: The Scheduler tried to run the tas
k jobslite-A-234 owned by Plugin{id=jobslite, name=JobsLite, version=1.8.0, desc
ription=Sponge jobs plugin., source=C:\Users\Mimir\AppData\Roaming.minecraft.
mods\plugins\JobsLite-7.0.0-1.8.0.jar}, but an error occured.
java.lang.NoClassDefFoundError: org/spongepowered/api/data/meta/ItemEnchantment
at me.flibio.jobslite.listeners.PlayerBlockBreakListener.run(PlayerBlock
BreakListener.java:95) ~[PlayerBlockBreakListener.class:?]
at me.flibio.jobslite.listeners.PlayerBlockBreakListener.lambda$onBlockB
reak$27(PlayerBlockBreakListener.java:71) ~[PlayerBlockBreakListener.class:?]
at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(S
chedulerBase.java:186) ~[SchedulerBase.class:1.12.2-2611-7.1.0-BETA-2906]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
?:1.8.0_161]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:
1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?
:1.8.0_161]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
[18:45:46] [pool-3-thread-11/ERROR] [Sponge]: The Scheduler tried to run the tas
k jobslite-A-235 owned by Plugin{id=jobslite, name=JobsLite, version=1.8.0, desc
ription=Sponge jobs plugin., source=C:\Users\Mimir\AppData\Roaming.minecraft.
mods\plugins\JobsLite-7.0.0-1.8.0.jar}, but an error occured.
java.lang.NoClassDefFoundError: org/spongepowered/api/data/meta/ItemEnchantment
at me.flibio.jobslite.listeners.PlayerBlockBreakListener.run(PlayerBlock
BreakListener.java:95) ~[PlayerBlockBreakListener.class:?]
at me.flibio.jobslite.listeners.PlayerBlockBreakListener.lambda$onBlockB
reak$27(PlayerBlockBreakListener.java:71) ~[PlayerBlockBreakListener.class:?]
at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(S
chedulerBase.java:186) ~[SchedulerBase.class:1.12.2-2611-7.1.0-BETA-2906]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
?:1.8.0_161]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:
1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?
:1.8.0_161]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
Here's some enhancements that I've been thinking about.
Is there a way to automatically assign a player jobs when they join the server?
If not, should be okay just running some automatic commands for first time players on the server to join the jobs?
When I want to edit the configuration file after I create a job, the plugin reloads without errors but erase what I have done...
Is it impossible to edit jobs through the .conf files ? Only in-game ? And there is no "/jobs edit" so I guess I have to re-create each jobs each time...?
Thank's in advance !
When will this be compatible with the latest SpongePoweredForge?
Thank you
Hey there ;]
Could you add the support of virtual accounts like your economy plugin?
Players should be payed e.g. by kingdom for doing something, and if the virtual account kingdom is out of money, the player get's an message that he/she earned 0 coins bc kingdom oom.
Greetz,
Hannes
Can be used on sheep and chickens. Just discovered the chicken thing. Maybe others I don't know of.
I like your plugin very much. It is an amazing idea. I have several suggestions for it. I hope my suggestions can help it being better.
A vote for taming animals as a job.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.