You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "THIS MOD HAS SPECIAL INSTALL INSTRUCTIONS IN THE DESCRIPTION, PLEASE READ THEM. Modified Northstar.Client to load Client-Side mods on Vanilla servers",
Copy file name to clipboardExpand all lines: mods/NP.VanillaPlus/mod.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@
2
2
"Name" : "VanillaPlus",
3
3
"Description": "A stripped down and modified Northstar.Client mod that allows for client-side mod loading on official Respawn servers\n\nMade by Nanohm, remastered by Cyn",
Copy file name to clipboardExpand all lines: mods/NP.VanillaPlus/mod/scripts/vscripts/ui/check_mods.nut
+34-6Lines changed: 34 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,26 @@ void function CheckForMods()
14
14
{
15
15
WaitFrame()
16
16
17
-
if (!VANILLA) {
18
-
// Prints an error if the user isn't in vanilla compatibilty mode
19
-
// Mostly to be used with Spectre log reading later (hence the 0)
20
-
printt("VanillaPlus Error 0: Not in vanilla compatibility mode")
21
-
if (GetConVarInt("core_remind") ==1) CoreMods()
17
+
if (!VANILLA)
18
+
{
19
+
if (!HAS_CLIENT)
20
+
{
21
+
// if the user isn't in vanilla compat, has vanillaplus, and doesn't have client, they're basically 99% guaranteed to be using -norestrictservercommands still
22
+
// this checks we don't have client because having only client on 2.0+ causes a compile error
23
+
printt("VanillaPlus Error 1: Using -norestrictservercommands instead of -vanilla")
24
+
if (GetConVarInt("norestrictservercommands_remind") ==1) UpdateToUsingVanillaLaunchOption()
25
+
}
26
+
else
27
+
{
28
+
// Prints an error if the user isn't in vanilla compatibilty mode
29
+
// Mostly to be used with Spectre log reading later (hence the 0)
30
+
printt("VanillaPlus Error 0: Not in vanilla compatibility mode")
31
+
if (GetConVarInt("core_remind") ==1) CoreMods()
32
+
}
22
33
}
23
34
24
-
elseif (HAS_MORESKINS || HAS_FRAMEWORK) {
35
+
elseif (HAS_MORESKINS || HAS_FRAMEWORK)
36
+
{
25
37
OtherMods()
26
38
}
27
39
}
@@ -64,4 +76,20 @@ void function CoreMods()
64
76
})
65
77
AddDialogButton(coreModWarnDiag, "Continue to Northstar servers", void function(){ClientCommand("uiscript_reset"); ClientCommand("core_remind 0")})
66
78
OpenDialog(coreModWarnDiag)
79
+
}
80
+
81
+
void functionUpdateToUsingVanillaLaunchOption()
82
+
{
83
+
DialogData coreModWarnDiag
84
+
coreModWarnDiag.header="Not using vanilla compatibiltiy mode!"
85
+
86
+
coreModWarnDiag.message="You aren't using Northstar's vanilla compatibility mode!\n\nIt seems that you're still using the launch option '-norestrictservercommands'.\n\nRecently, a better version of vanilla using the launch option '-vanilla' has come out.\n\nPlease update to that.\n\nYou can read the instructions for how to properly do it again, or you can continue to using VanillaPlus as is, altough it isn't recommended."
AddDialogButton(coreModWarnDiag, "Continue to not recommended VanillaPlus", void function(){ClientCommand("uiscript_reset"); ClientCommand("norestrictservercommands_remind 0")})
0 commit comments