smartspawner

last built 23 hours ago
Build #31
By downloading this file, you agree to our license terms.
Jenkins CI
Git Mirror
License: MIT
Maintainer: Community Plugin
Source: github.com
This plugin is maintained by the RocketMod Community.
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

SmartSpawner

SmartSpawner

A simple plugin for Rocket.Unturned that allows you to do manual or automatic loot reseting by the way it does when the server was rebooted.

 

  • Uses your current server SpawnChance value;

  • Causes minimum lag when executed (even when the SpawnChance is 100%);

  • Can notice your players if the command will be executed soon (if setted to automatic);

  • Do not destroys dropped items by players.

 

So with this plugin you can forget about your server has only rubbish loot setted everytime.

Commands (only in console):

Syntax: /ss <manual | auto> [time in sec [time in sec]].
/ss manual – Will reset loot only once.
/ss auto 600 – Will reset it automatically every 600 seconds (10 minutes).
/ss auto 600 30 – Will reset loot automatically every 600 seconds and will notice all players in 30 seconds that loot is gonna be resetted.
/ss auto off – Will disable resetting automatically.

 

Translation list is present.

P.S.: sorry for my bad English, from Mother Russia with love <3. Have fun!

Feel free to message me if you will find bug or will have an great idea to make this plugin better.

05/29/2017 update: Now you can find an variable named clearPlayerItems in configuration file. If it setted to true then all items which was dropped by players will disappear when reset was executed. Otherwise if it setted to false it will work as is.

07/10/2017 update: Found a bug with players item drops, the one that Leo was talking about. It was fixed in #4 build. Big thank’s to Leo 🙂

09/16/2017 update: Added an variable resetMessageEnabled that turns on and off the message “All items have been respawned just now.”.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<SmartSpawnerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <isAutosetted>false</isAutosetted>
  <isAttentionEnabled>false</isAttentionEnabled>
  <clearPlayerItems>false</clearPlayerItems>
  <resetMessageEnabled>true</resetMessageEnabled>
  <interval>0</interval>
  <noticeLatency>0</noticeLatency>
</SmartSpawnerConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="items_have_been_respawned" Value="All items have been respawned just now." />
  <Translation Id="items_going_to_respawn" Value="All items will be respawned within {0} seconds." />
</Translations>

Commands and permissions


This plugin doesn't have any commands.

Git changelog


a9fa4a94db55b88 2019-07-18 20:08:04

Fixed license copyright.

    e6bd62cd0eaedfa 2019-07-18 18:52:29

    Changed license.

      fcbf3b0d4cf7e42 2019-05-16 01:19:28

      Fixed.

        f8aef7e6ba6a256 2017-09-16 11:27:15

        resetMessageEnabled variable

          263669be8f744ab 2017-09-16 11:25:35

          resetMessageEnabled variable

            99c2ceb367631fa 2017-07-10 15:08:41

            Player items wasn't spawned fix

              5e07fd112be1d9a 2017-07-10 15:08:08

              Deleting excess archive

                8f8718851cf753f 2017-07-10 15:05:13

                Latest build #4

                  c7fae9d00b2ffab 2017-07-10 15:04:17

                  lol what was that?

                    cf144bbac76db6c 2017-07-10 14:59:53

                    Player items wasn't spawned fix

                      c4b15cdd32e6164 2017-05-29 11:12:48

                      Clear players items update

                        65d4d550da60583 2017-05-29 11:11:41

                        Clear players items update

                          4e3ec33be393dc7 2017-05-29 11:10:59

                          Clear players items update

                            cbef369e10af02b 2017-05-16 10:18:46

                            Uploading archieved build

                              3f25fe9eb9fc5da 2017-05-16 10:06:34

                              Create README.md

                                ac37c3ef5d3e1fe 2017-05-16 10:06:23

                                Uploading from original project