Giter Site home page Giter Site logo

jobslite's People

Contributors

dockter avatar eliskvitka avatar flibio avatar liach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jobslite's Issues

Double Clicking Block

As I am making a job, it asks me to double click on the block I want the player to get rewarded for breaking. It appears as though some blocks are supposed to be listed but nothing shows up. What do I double click on? Sent a screen shot.
2016-09-24_08 03 45

Rewards on block place aren't working.

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

[suggestion] - Generic Blocks

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
    }

Item enchantment blacklist

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.

Tinkers Lumberjack Axe

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

Suggestion - A few thoughts

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.

JobsLite vs Forestry

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 not working!

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

Incompatible with Sponge 7.0.0

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]

Necessary for servers /Suggestions

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 !

Jobs paid by player

Environment

Forge: forge-1.12.2-14.23.1.2587-universal
Sponge: spongeforge-1.12.2-2555-7.1.0-BETA-2831

Feature request

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.

Permissions error on the other jobs subcommands.

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.

Ranger weapons dont give Experience

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?

Spongevanilla 1.10.2 beta 99 , JobsLite 1.6.1

[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

Default jobs?

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?

Exploit

Users can keep placing the item down and breaking it to make money.

Performance issues with long jobs data configs

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.

Right Clicking Crashes

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.

Edit job suggestion

I believe i should be able add blocks which earn money to a job via in-game to make it easier to update.

mysql database issue

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.

Permissions error on /jobs command

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

[suggestion] for easy DB management

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

Error in newest sponge.

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]

Jobs.conf error?

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!

Suggestion [Jobs over Sign's]

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 =)

Some informations

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!

Suggestion - Cooking

Whether its just bread or some of the other things from bigger mods like pams. Give someone an incentive to earn money cooking.

Error when using enchanted items to break blocks

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]

Various Enhancements.

Here's some enhancements that I've been thinking about.

  • [Not necessary] Add a command to allow you to reload the config files in the plugin.
  • Add a Job Info feature that allows you to see your current level/xp and xp left to level up(You could possibly add a scoreboard display feature to show the player the info.) and how much calculated money/xp you will get for each item in the job.
  • Add the ability to have more than one job set, with a configurable max and possibly a permission to allow someone to override the max.
  • The ability to store Jobs info in a database.
  • Add an option to ignore block states(to, for instance, cover all variants of a block.) when you select a block in job creation.
  • Having a command to where you can Leave a job, to be jobless(Would also be useful for number 3.)

Auto Join Jobs

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?

Impossible to edit configuration

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 !

1.12.1?

When will this be compatible with the latest SpongePoweredForge?

Thank you

Support virtual accounts

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

Suggestion - Shearing

Can be used on sheep and chickens. Just discovered the chicken thing. Maybe others I don't know of.

Some suggestions

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.

  1. Complete killing rewards. I noticed you had mentioned this feather in planed feather. I am looking forward to its appearing.
  2. Add arresting or police-officer rewards. Usually, admins use commands to jail players who is against server rulls like killing too many people. It is a fast but borring way. I think if there is a mechanism that when innocent players are killed by someone, they can report this events to server. Then if there are certain amount of players reporting a same player in short time, people who have police job will receive a message with name and coordinate to arrest the reported player like kill him and put him into the jail.
  3. Add maximum reward limts. I think JobsLite makes MC more interesting. However, as a server owner, I am also worried JobsLite may give some players "too much" rewards. If I setted the reward at too low price, it may not encourage most players to do their jobs. If I setted the reward at higher price, there always are some "too laborious" players who will earn incredible money from JobsLite. Thereby, I wish you can add maximum reward limits function.
  4. Add a mercenary-like mechanism for normal players. It can be a player pay their own money to hire another player to kill someone, a player pay their own money to hire another player to transport something to someone, or a player pay their own money to hire another player to collect specialized items or blocks. I think it will make servers more vivifying.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.