Spigot RealisticSleep 1.1

More realistic sleep - Time passes while sleeping

  1. inventivetalent submitted a new resource:

    RealisticSleep - More realistic sleep - Time passes while sleeping

    Read more about this resource...
  2. Can you make it so when a player doesn't sleep for a set amount of days they get potion effects(I need it for my rp server) with config options for potion strength?.
  3. Code (Text):
    {\rtf1\ansi\ansicpg1252\deff0\deflang11274{\fonttbl{\f0\fnil\fcharset0 Arial;}}
    {\colortbl ;\red0\green0\blue255;\red255\green165\blue0;\red255\green0\blue0;}
    \viewkind4\uc1\pard\cf1\fs18 1:25:20 p. m. [INFO] [TitleManager] Searching for updates.\par
    \cf2 1:25:20 p. m. [WARNING] Exception in thread "Craft Scheduler Thread - 25"\par
    1:25:20 p. m. [WARNING] org.apache.commons.lang.UnhandledException: Plugin RealisticSleep v1.1 generated an exception while executing task 50\par
    \cf3 1:25:20 p. m. \tab at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)\par
    1:25:20 p. m. \tab at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\par
    1:25:20 p. m. \tab at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\par
    1:25:20 p. m. \tab at java.lang.Thread.run(Unknown Source)\par
    1:25:20 p. m. Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;\par
    1:25:20 p. m. \tab at org.mcstats.MetricsLite.postPlugin(MetricsLite.java:287)\par
    1:25:20 p. m. \tab at org.mcstats.MetricsLite.access$200(MetricsLite.java:53)\par
    1:25:20 p. m. \tab at org.mcstats.MetricsLite$1.run(MetricsLite.java:175)\par
    1:25:20 p. m. \tab at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71)\par
    1:25:20 p. m. \tab at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)\par
  4. You should be fine ignoring that. It's only caused by the plugin metrics part, so it shouldn't affect the plugin itself.
  5. does this work in 1.12.2?