❔ hello, can you help me with one problem
how to fix this problem, I'm just learning how to make plugins for terraria in C# and I can't solve it in any way
45 Replies
"Command" does not contain a definition for "ChatCommands"
What‘s not clear about the error?
yes
Where does „command“ come from, is it your own class, or a package?
I just make this plugin according to the guide, and it doesn't work for me
Can you share the guide?
Creyess
YouTube
TShock Plugin Development Tutorial: Getting Started (#1)
Concepts Introduced: Setting up a plugin, utilizing hooks, and creating a command. More will be introduced in later episodes.
Today's episode will be a bit different. In this video, I go over the basics of creating a TShock plugin. Throughout the video we take a look at the following:
00:00 - Brief Intro
01:19 - Installing Visual Studio
01:30 ...
this code is at 21:23
And the video itself?
To fix the second error, you have to remove the dot after the new
and what to do with it?
"ChatCommands"
.
Sorry, I didn't understand what you were talking about
You need to send the guide.
Creyess
YouTube
TShock Plugin Development Tutorial: Getting Started (#1)
Concepts Introduced: Setting up a plugin, utilizing hooks, and creating a command. More will be introduced in later episodes.
Today's episode will be a bit different. In this video, I go over the basics of creating a TShock plugin. Throughout the video we take a look at the following:
00:00 - Brief Intro
01:19 - Installing Visual Studio
01:30 ...
this is the guide i am learning
I'm sorry if I didn't explain it to you clearly
Well you just need to copy the video
It is commands not command
There is an s
ok, I'll try
thanks
do you know how to add the definition of "ChatCommands" to "Command"?
Not sure what you mean
here is this error
do you know how to solve it or not?
Yes, you need to use „Commands“ not „Command“
Like in the video
Thank you very much
Does it work now?
well, if there are 2 more errors, but you helped me fix that mistake
:\
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
okey, I just do it according to the guide
and what to do with "RandomItem"?
???
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
1 sek
21:23
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
:\
and how to fix it?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
just create a new project?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Okay, I'll try, thanks
it didn't work :(
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I did everything as it says, but it doesn't work :\
Советую переустановить Visual Studio на английский язык. Иначе будет труднее искать причину ошибок.
Might I suggest reinstalling your Visual Studio with English as the main language? Otherwise it's going to be difficult looking up errors/asking for help.
а
окей, спс (Thanks)
Look for visual studio installer
And there you should be able to change the language of your installation
ok
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.