"Only on first time connection": "true" Is that supposed to mean first time player connects to server, new player or each time a player leaves and then returns. Right now it is giving the items each time a player disconnects and then reconnects.
Starter Pack [Unmaintained]
Discussion in 'Plugin Support' started by mangiang, May 11, 2017.
-
-
Appreciate the quick response. But like I said when a player disconnects and then reconnects it gives them all the items again. Was trying to use this to replace a starter kit since all I want to do is give a new, naked player, a few items to start out with. This is my config file:
"Chat name": "StarterPack",
"Chat Parameters": {
"color": "white",
"size": "0"
},
"Connection Message": "Welcome, check your inventory",
"Give item to everyone": "False",
"Is the message broadcasted ?": "False",
"Items": {
"Belt Inventory": {
"-1289478934": "1",
"-337261910": "5",
"789892804": "1"
},
"Main Inventory": {
"-975723312": "1",
"991728250": "5"
},
"Wear Inventory": {
"1767561705": "1",
"707427396": "1",
"707432758": "1"
}
},
"Only on first connection": "true",
"Plugin Name Parameters": {
"color": "orange",
"size": "0"
},
"Use logs": "true",
"Verbose mode": "False"
All the items work fine, just the getting it each time. -
I saw the "Use logs" parameter is set to "true"
Can you link me in a private channel the logs ? -
Not sure what you mean by private channel. Is the log the one created in Oxide/logs? Like this one.
Attached Files:
-
-
It lacks the initialization logs and the connection logs for example... -
Just deleted log and reinstalled the plugin. Went in game and it created the same log. No other logs in the StarterPack folder.
Last edited by a moderator: May 21, 2017 -
I apology to have taken so long to notice -
mangiang updated Starter Pack with a new update entry:
1.9
[DOUBLEPOST=1495368084][/DOUBLEPOST] -
My fault as well, should have seen the cap T. Thanx for all your help. plugin works great now.
-
ok I have 2 questions lets say that every time someone new joins or they die and re-spawn do they get everything you put in the list?
I would like to start everyone out of a custom skinned
Rock (Customer Skin. Like a Wilson Ball)
Shirt (With My Logo)
Pants
Bandage
I have seen this on other servers Where they have there logo on the shirt and a custom rock.
I know you can put the item but can you set skin ID also
O would like to make it were new people or if they get killed they re-spawn with the above. Can this be done with this addon? -
ex : Someone connects today on the 25/05/2017. "Only on first connection" is set to True. The same person connects tomorrow and won't get the items. If "Only on first connection" is set to False, he will get the items. (if it is set to False, it doesn't have to be on the next day, the person can disconnect and reconnect again to get the items)
-> I tried to give skins (official skins, not custom) and I could give them ONLY on craft ... I don't know why
Could you ask the modos about the plugin they use ?
-> You can't do that with the version 1.9 and before. The items are only given on spawn for the moment -
I might try to reach out to them. The server was under modded and
Uprising Server
UpRising Prime
I would like to not copy them but change might to do some of the stuff like the custom skins on objects -
mangiang updated Starter Pack with a new update entry:
1.10
-
For some reason my starterpack config keeps getting reloaded back to default at server startup after I have changed it and uploaded it. Is this a known bug? I can post my config if you'd like.
EDIT: Wait, I think I know why.
EDIT 2: Yep I figured it out. Sorry to bother you. Didn't realize I still had // comments in (not that familiar with JSON)Last edited by a moderator: Jun 18, 2017 -
I'm glad you managed to find a solution !
-
How do I make this work so its a startpack for not only new connections but also when you die and respawn
-
Code:[HookMethod("OnPlayerRespawned")] public void OnPlayerRespawned(BasePlayer player) { GiveToPlayer(player); }
-
I tried to update the config (.json) file to give different items, but it won't work properly. What am I doing wrong?
-
I am sorry to disturb you, here is my code, I have tried so many time. But nothing changed, help me plz.
{
"Chat name": "StarterPack",
"Chat Parameters": {
"size": "0",
"color": "white"
},
"Connection Message": "A new player {Newcomer_name} came to our server Try to be kindful to him",
"Give item to everyone": "False",
"Is the message broadcasted ?": "True",
"Items": {
"Belt Inventory": {},
"Main Inventory": {
"-1280058093": "1",
"-853695669":"1",
"843418712":"20"
},
"Wear Inventory": {"707427396": "1",
"-135651869":"1"}
},
"Only on first connection": "False",
"Plugin Name Parameters": {
"size": "0",
"color": "orange"
},
"Use logs": "False",
"Verbose mode": "False"
}