EventBoxAPI

Moved

Total Downloads: 517 - First Release: Nov 25, 2015 - Last Update: Dec 16, 2016

5/5, 2 likes
  1. LaserHydra submitted a new resource:

    EventBox API - allows you to set up spots for boxes which other plugins can use.

    Read more about this resource...
     
  2. Can this be used as a standalone plugin?

    [Oxide] 10:27 AM [Error] Failed to call hook 'cmdEventBox' on plugin 'EventBox v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 10:27 AM [Debug] at Oxide.Plugins.EventBox.GetRandomItem () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventBox.AddItems (.BaseEntity box) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventBox.BuildBox (System.String name, Oxide.Plugins.Location location, Boolean items) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventBox.BuildBoxes (System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventBox.cmdEventBox (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventBox.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  3. the chat commands work just fine without other plugins. But its thought as API.
     
  4. thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you!!!!!!
     
  5. good plugin
    However, there is no automation. installation and removal of the coordinates
    Manually is not a pleasure
     
  6. Could you explain what you'd like to have?
     
  7. I find it hard to translate into English. will try to explain.
    Create counter / timer 30 minutes
    Create coordinates 1,2,3 ... 10 (x:y)
    the timer is over
    Random set 1 ... 10 coordinates of the sheet
    start plugin
    message on the screen "Event starting position for 1 hour "
    After the end destroy box
    restart
    much better arenas
     
  8. you mean randomly set up box locations? This is an API meaning, its not meant to be used as standalone plugin. Its made very simple with less features, to make it useable by Event Manager etc.
     
  9. not by chance, as laid down in advance the coordinates
     
  10. Now if only we could just create a location for box (loot box, like in rad towns, not craftable boxes) with respawn timer, that would be awesome. I think that this is what everybody wanted, not this.
     
  11. Hey Laser.
    Soon ill be setting up an arena with a zone to spawn items in the box using zone commander.
    I wanted to ask, with this mod does it wipe everything that's in the box and spawn new stuff?
    Reason being is that I don't want it to have 10 guns just cause people ran into it 10 times.
    But Also if it does empty the Box any way you could make a version of this mod that adds to the box instead of replace.
    Reason being is that I'm making a role play server with land to conquer.
    I want it that every hour farms will produce food while quarry will spawn resources, but To make it that people dont have to stay online to collect it I would like to have it that it fills the boxes over time till they are full.

    Cheeers
     
  12. Any can fix this?

    23:14 [Error] Error while compiling EventBox.cs(226,17): error CS1501: No overload for method `Spawn' takes `1' arguments
     
  13. Search: box.Spawn(true);
    Replace: box.Spawn();
     
  14. LaserHydra updated EventBox API with a new update entry:

    1.0.1

     
  15. can this spawn a kit every minute for an event
     
  16. If your event plugin handles it like that, yes. This is an API. It does not do anything automatically itself.
     
  17. Hi! Can I combine it whith CustomLootSpawns? And how?
     
  18. How can i set this up so it automatically re spawns after and event in event manager?
     
  19. Event Manager would have to implement this plugin.
     
  20. Error while compiling: EventBox.cs(373,28): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `name' and no extension method `name' of type `ConsoleSystem.Command' could be found. Are you missing an assembly reference?