NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

--[[
Hint for dedicated servers. Include it in your modoverrides.lua:

["workshop-522365312"] = { --Disable Characters Mod
enabled = true,
configuration_options =
{
wilson = false, -- false means "Enabled"
willow = true, -- true maens "Disabled"
wolfgang = false,
wendy = false,
wx78 = false,
wickerbottom = false,
woodie = false,
wes = false,
waxwell = false,
wathgrithr = true,
webber = false,
cheat_admin = false, -- false means "No". Use it to test that the mod works fine, or change it to true.
user_character = "asuna", -- This is text string of custom character prefab. "asuna" is just an example.
--Use comma to list a few custom characters.
}
},


----- OR -----
Another SIMPLE way to list all standard and modded characters:

["workshop-522365312"] = { --Disable Characters Mod
enabled = true,
configuration_options =
{
cheat_admin = false,
user_character = "asuna, willow, wathgrithr",
}
},


--]]


CUSTOM_CHAR = "Disabled" --Change this value to character prefab if you like. For example "asuna" or "bender".
--NB: This is not character name. However usually character name is equal to character prefab.
--Examples:
--CUSTOM_CHAR = "asuna"
--CUSTOM_CHAR = "asuna, musha"
--CUSTOM_CHAR = "musha, walter, whandler, wanda, grell"

--How to get exact prefab name of a character?
--Way 1: Open modmain.lua of characte mod and find "AddModCharacter".
--Way 2: Open folder modscriptsprefabs and look for prefab file. Open and it and at the end of the file you will find "MakePlayerCharacter".

name = "Disable Characters"
description = "Will disable standard characters."
forumthread = ""
author = "star"
version = "0.06"
api_version = 10

dont_starve_compatible = false
reign_of_giants_compatible = false
dst_compatible = true

all_clients_require_mod = true
client_only_mod = false
server_filter_tags = {}

icon_atlas = "preview.xml"
icon = "preview.tex"

priority = 0.00522365312


DST_CHARACTERLIST =
{
"wilson", "willow", "wolfgang", "wendy", "wx78", "wickerbottom", "woodie", "wes", "wathgrithr", "webber", --"waxwell",
}
DST_CHARACTERNAMES =
{
"Wilson", "Willow", "Wolfgang", "Wendy", "WX-78", "Wickerbottom", "Woodie", "Wes", "Wigfrid", "Webber", --"Maxwell",
}

common_options = {
{description = "Enabled", data = false},
{description = "Disabled", data = true},
}
configuration_options = {nil,nil,nil, nil,nil,nil, nil,nil,nil,} --x9
for i=1,#DST_CHARACTERLIST do
configuration_options[i] = {
name = DST_CHARACTERLIST[i],
label = DST_CHARACTERNAMES[i],
hover = "Allow this character?",
options = common_options,
default = false,
}
end

configuration_options[#DST_CHARACTERLIST+1] = {
name = "cheat_admin",
label = "Cheater Admin",
hover = "Admin will be able to use disabled characters.",
options = {
{description = "Yes", data = true},
{description = "No", data = false},
},
default = true,
}


configuration_options[#DST_CHARACTERLIST+2] = {
name = "user_character",
label = "User Character",
hover = "Works only for dedicated servers.nHosts should change CUSTOM_CHAR variable in modinfo.lua directly.",
options = {
{description = CUSTOM_CHAR == "Disabled" and "No" or CUSTOM_CHAR, data = CUSTOM_CHAR},
},
default = CUSTOM_CHAR,
}


     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.