Spigot Companies 1.3.1

Trade together

  1. Thanks man, I appreciate it
     
  2. @Hmmcrunchy Can you make it so employees can Clock-In and Clock-Out and have it so that the plugin counts how many hours per day and per week they are clocked in.
    If a company only wants to pay a person for so many hours a day, then this is needed, otherwise a company could be spending more money then intended on a worker that isn't always doing their job because it's not required of them.

    So /company clockin and /company clockout
    Owner, Manager, and Financer get /company check <employee> - It gives them the amount of hours they worked that day, and that week. Plus includes a total amount of money they paid them over the day and week.
     
  3. good idea
     
  4. When a non employee tries to buy something it doesn't work. Doesn't give an error message and it just takes things from chests freely. Please fix this. No money is being paid for them.
     
  5. Hey could I grab versions of spigot and companies

    No error in console ?

    Are you using proper spigot not paper
     
    #185 Hmmcrunchy, Jun 12, 2019
    Last edited: Jun 12, 2019

  6. I am using Spigot 1.14 and 1.3.1 of Companies.

    and the console shows no errors

    and Yes I am using regular Spigot.
     
    • Like Like x 1
  7. Thank you for considering my idea. I'd like to add onto it a tiny bit more. Give Owners / Managers / Accountants(maybe) the option when they are hiring an employee /company hire <player> <wage> <max working time/irl day> ---- the max working time can be in minutes (m) hours (h)

    So lets say you budget each employee to work 2 irl hours per irl day, and they are paid every 30 minutes. They can only get a maximum of 4 paychecks per day.

    I suggest this because I am doing a 1.12.2 roleplay server and players can own their own companies. So, having a max working hour limit per irl day would be nice so you don't spend more money on employee pay than wanted. Plus clock-in / clock-out times so you know when they are working and how much of that day they worked. That way if they work an hour for your company but played 2 hours on the server. They just got an extra cheque or more, depending on settings.
     
  8. that's ok, good ideas, just to warn this is quite a big old change and im rushed off my feet at work at the moment so ill try and get this done but may not be a quick addition
     
  9. Thank you, completely understandable with work and all. Whenever you can add those features, would be nice. It would be a great benefit to my RP server because right now; company owners will have to trust employees or pay them without the company or something because if someone only puts an hour of work into the company and then does their own thing for another hour or two. Company owner wont be happy to pay someone 2 extra hours of work.
     
    • Like Like x 1
  10. I love this plugin and I based my server around it. Please can this be maintained. There are some bugs, for example when clicking an empty stack this error occurs https://pastebin.com/jxRYRBBn

    Is there a git to this plugin?
     
    • Like Like x 1
  11. It is :) thanks for the big report I’ll see if I can replicate

    It could be an issue with paper as my plugins are mainly designed for spigot rather than paper which does things slightly differently

    No git
     
  12. Hey
    Does the latest version work in 1.12.2? I use paper-1613

    Currently using Companies 1.1.3 and it works for the most part. Having issues with wages, however.
     
  13. Hi what’s up with wages any errors

    Paper spigot may be a little temperamental as it’s written for normal spigot
     
  14. Code (Text):
    > [11:48:41 WARN]: [Companies] Task #112 for Companies v1.1.3 generated an exception
    java.lang.NullPointerException: null
    at net.milkbowl.vault.economy.AbstractEconomy.depositPlayer(AbstractEconomy.java:50) ~[?:?]
    at com.hmmcrunchy.companies.Companies.payPlayer(Companies.java:589) ~[?:?]
    at com.hmmcrunchy.companies.Companies.processPayDay(Companies.java:506) ~[?:?]
    at com.hmmcrunchy.companies.Companies$1.run(Companies.java:391) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1613]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1613]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1613]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1613]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1613]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1613]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
     
    • Like Like x 1
  15. https://pastebin.com/DPj3YtsR

    It goes from the bottom up due to my console. Anyways having this error. On Spigot 1.12.2 latest with v 1.3.1 plugin
     
  16. Can you upload the source code to here or github?
     
  17. revert back one version of companies as OAK_WALL_SIGN is the 1.13 not 1.12
     
  18. can you turn offline payments off in the config
     
  19. upload_2019-8-7_15-13-46.png

    Already off.
     
  20. suggestion:
    The ability to make predetermined companies that people can create, for instance a supermarket that can only sell food, a blacksmith that can only sell weapons, tools and armor, a brewer that can only sell potions and brewing ingredients, a florist that can only sell flowers and plants etc