@Slydelix
Really??
Free pickups for ALL^^
No wonder why i do'nt find the issue in my code...man...who told you return true is good???Code:private bool CanPickupEntity(BaseCombatEntity entity, BasePlayer player) { if (storedData.IDlist.ContainsKey(entity.net.ID)) return false; else return true; }
Please change asap to:
Code:private object CanPickupEntity(BaseCombatEntity entity, BasePlayer player) { if (storedData.IDlist.ContainsKey(entity.net.ID)) return false; return null; }
Night Door
Allows opening of selected door(s) only during set time period
Total Downloads: 416 - First Release: Nov 8, 2017 - Last Update: Jun 25, 2018
- 5/5, 4 likes
-
Last edited by a moderator: Apr 25, 2018
-
Slydelix updated Night Door with a new update entry:
1.7
-
[LITTLE_CORRECTION]lang/en
line 8 : "PlayerCannotOpenTime", there was an inversion between the values,
and so in the printed sentence (something like 'this 21:00 is locked until sheet metal door)Attached Files:
-
-
Code:
{"PlayerCannotOpenTime", "This {0} cannot be opened until {1}"},
-
"PlayerCannotOpenTime": "This {1} cannot be opened until {0}", -
-
Slydelix updated Night Door with a new update entry:
1.7.1
-
[LANG/FR] french lang version
if ever you want to include it
Thank you !
added translated sentences for config and lang in .cs
to help you as possibleAttached Files:
Last edited by a moderator: Jun 11, 2018 -
-
-
Slydelix updated Night Door with a new update entry:
1.7.2
-
Hello Slydelix
sorry for my english
While researching for my need to restrict access to doors (which does not exist), I find that your plugin could be even bigger if it could manage access by oxide groups.
With the options you've created, if you can add door access management by user groups (or betterChat groups), and mixed with 'offline door', your plugins will then become 'Door Manager'
It does not miss a lot to achieve this goal. For example :
1-To not manage the gate access time (in game) = / timeperiod create <name> <00:00> <00:00> (Done)
2-To give permission to access a group, outside period = oxide.grant group <group> nightdoor.bypass (Done)
3-To give permission to access a group, out of period, for a gate to set = oxide.grant group <group> nightdoor.bypass.door_name_xx (complicate to do?)
What do you think ? -
-
absolutely.
This management allows several uses:
- Manage access to events
- Reserve access to members (Admin, VIP, etc.)
- Sell a privilege access (Economics + GUI Shop)
-...
In short, imagination is limitless