Hurtworld Prevent C4 at night

Discussion in 'Plugin Requests' started by MaisterQ, May 11, 2016.

  1. Can someone make plugin for "anti-c4"??? Players cant use c4 while in this protection. I think 23:00-6:00 will be good time for this protection.
     
  2. By prevent c4 you mean c4 can't be placed and/or crafted? I can work something out for you if you give me the correct details.
     
  3. He talked about c4 not be USED in configurable schedules of the day.
     
  4. The code already exists for this in other plugins.
    Simply use a DateTime if statement with the code from NoRaidZones.
     
  5. I'm well aware that he wants it not to be used at certain times, but I just want him to be more specific. What I could do is either mke the every C4 in every player's inventory be destroyed during the night and return during the day, or either destroy every C4 deployed at a certain time and r1eturn them to the player's inventory.
     
  6. I am also behind a plugin so and believe that the best way would prevent c4 are placed and if it is not possible to block the use , which when placed her back to the inventory without it detonates .
     
  7. Anything that removed from a players inventory would be bad, especially if something were to happen to the server during that time.

    Another reason:
    Plus having to remove every object would execute every time guaranteed for each player. For those that are already aware of the nighttime restriction wouldn't place C4, and could possibly go an entire night without removing a single one.

    You'll also have players saying "Where'd my c4 go!? Adminnn!" lol