Hi.
Blueprints are stored in sql now?
This is the reason to server crash??
![]()
BlueprintManager
Moved
Total Downloads: 5,652 - First Release: Oct 6, 2017 - Last Update: Feb 19, 2018
- 5/5, 23 likes
-
pluggin is no working no more dont unlock all bps
-
Plugin author hasn't responded in a while now, if he's still around.
-
Everytime i reload the plugin it gives all BP's even tho i revoked myself the .all perm. And how do i add BP's to the config so ppl have them unlocked by default?
-
I removed the plugin and everyone still had full access to all blueprints. How do I fix this?
-
-
-
user (folder)
user.1 (fodler, may not be there)
player.blueprints.1.db (file)
and then restart server from there -
-
-
Hello!
Since last update we've experienced some "server freezes" when new people (since last blueprint wipe) connecting. I just managed to track down that issue to this plugin, if i wipe blueprints and people join it will freeze the server on their first join, if i unload plugin the problem won't be there. Any fix? Would be great! -
Replace player.UnlockAll() by UnlockAll(player) and add this code:
Code:private void UnlockAll(BasePlayer player) { var instance = SingletonComponent<ServerMgr>.Instance; PersistantPlayer playerInfo = instance.persistance.GetPlayerInfo(player.userID); foreach (ItemBlueprint itemBlueprint in ItemManager.bpList) { if (itemBlueprint.userCraftable && !itemBlueprint.defaultBlueprint) { if (playerInfo.unlockedItems.Contains(itemBlueprint.targetItem.itemid)) continue; playerInfo.unlockedItems.Add(itemBlueprint.targetItem.itemid); } } instance.persistance.SetPlayerInfo(player.userID, playerInfo); player.SendNetworkUpdateImmediate(false); player.ClientRPCPlayer<int>(null, player, "UnlockedBlueprint", 0); }
-
Please add this, or help me add!
Attached Files:
-
-
Thanks for helping out tho! Very much appreciated
Gyazo - 941250cfc2061e978973403062bf6c1f.png -
Sorry to dig up an old thread. I am trying to make it so anyone that joins the server doesnt have to hunt for blueprints. I've done "oxide.grant user herrkenny admin blueprintmanager.admin" to give myself access to the blueprint manager, then entered "oxide.grant group default blueprintmanager.all" but the command "blueprint <unlockall|resetall> <player>" can only be used with a specific player name. I cannot find the syntax to unlockall for the default group. "Error, no player found by the name of default". Is there a way to do this ?
-
Maybe the "oxide.grant group default blueprintmanager.all" is what gives everyone access to permissions. My error.
-
May be fix [Info("Blueprint Manager", "Jacob", "1.0.2")] Kappa, you or Jacob ?) and add resourceid into info
-
[DOUBLEPOST=1517499424][/DOUBLEPOST]But declaration existCode:PersistantPlayer playerInfo = instance.persistance.GetPlayerInfo(player.userID);
-
Maybe
Code:private void UnlockAll(BasePlayer player) { var instance = SingletonComponent<ServerMgr>.Instance; var playerInfo = instance.persistance.GetPlayerInfo(player.userID); foreach (ItemBlueprint itemBlueprint in ItemManager.bpList) { if (itemBlueprint.userCraftable && !itemBlueprint.defaultBlueprint) { if (playerInfo.unlockedItems.Contains(itemBlueprint.targetItem.itemid)) continue; playerInfo.unlockedItems.Add(itemBlueprint.targetItem.itemid); } } instance.persistance.SetPlayerInfo(player.userID, playerInfo); player.SendNetworkUpdateImmediate(false); player.ClientRPCPlayer<int>(null, player, "UnlockedBlueprint", 0); }
-
Hello friends, do you have any idea how I change the chat "/blueprint" command to the console? I wanted to run your console!
[DOUBLEPOST=1517504042][/DOUBLEPOST]