Can I put a day in timed event? like weekend is double XP?
[DOUBLEPOST=1480046555][/DOUBLEPOST]And about some command only work to VIPs?
Timed Events [Unmaintained]
Discussion in 'Plugin Support' started by insane8472, Sep 1, 2015.
-
What command do you want only for vips? Not sure if that would work here. -
The double XP in night, I already did, but I want a variable that will work only in Sunday ( for a example ).
I want to give double economics to VIPs -
I get what you want now. I'll see what I can do.
-
I always receive an CallHook error with the OnTick event.
Code:[Oxide] 10:33 [Error] Failed to call hook 'OnTick' on plugin 'TimedEvents v1.1.3' File: TimedEvents.lua Line: 101 bad argument #1 to 'lower' (string expected, got nil): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unk nown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x0 0000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <fil
-
Can you please post your local events from your configuration.
-
Thanks for your fast reply.
Code:"Local": [ "02.00.PM:say Ressource-Boost active!", "02.00.PM:say Until 8 P.M. (CET/MEZ) you gain twice as much ressources from any source", "02.00.PM:gather.rate dispenser Wood 2", "02.00.PM:gather.rate dispenser Stones 2", "02.00.PM:gather.rate dispenser Cloth 2", "02.00.PM:gather.rate pickup Wood 2", "02.00.PM:gather.rate pickup Stones 2", "02.00.PM:gather.rate pickup Cloth 2", "02.00.PM:gather.rate quarry Stones 2", "08.00.PM:gather.rate dispenser Wood 1", "08.00.PM:gather.rate dispenser Stones 1", "08.00.PM:gather.rate dispenser Cloth 1", "08.00.PM:gather.rate pickup Wood 1", "08.00.PM:gather.rate pickup Stones 1", "08.00.PM:gather.rate pickup Cloth 1", "08.00.PM:gather.rate quarry Stones 1", "08.00.PM:say Ressource-Boost inactive!", "08.00.PM:say The Ressource-Boost will be next active at 2 P.M. (CET/MEZ)" ],
-
Thanks, it looks good. Do you know at which event the error always appears?
Just a tip, to cut down on commands, the gather plugin allows you to use *, for example, gather.rate dispenser * 2.Last edited by a moderator: Nov 28, 2016 -
Thank You. -
opupmsg.global 'message'"
-
Add this permission plugin to have a bonus to resource production day and night from the VIP players.it will greatly improve it!
-
would anyone be able to tell me how do i find local time of the server
-
-
-
"/te time" should show you the time.
-
Thanks that works
-
insane8472 updated Timed Events with a new update entry:
1.1.4
-
Maybe I'm blind, but when I downloaded the file, I'm getting a .lua file. I'm used to seeing a .cs file and transferring that over. Sorry for the noob question, but where am I supposed to install? I did not see anything under the overview. Thanks in advance
-
It goes into the plugin folder, same as .cs files.