TShock server commands

Discussion in 'General Server Discussion' started by Red_Headed_Tranny, Aug 18, 2011.

  1. Red_Headed_Tranny New Member

    Hey again, back for more help if anyone is free to help out

    So anyways as i said in my last post i am a very new user to Terraria (6 days now) even newer to TShock server (About 2 days)

    I have some / most of the commands down and working in terms of spawning monsters, setting up warps, tping to to users and them to me and such.

    However, something i have no managed to figure out as yet is "Regions" and "Groups" (Also protect spawn maybe?)

    So first the protectspawn feature:
    1. I assume this meens the spawn area cannot be edited (Is this users only or am i as admin not supposed to be able to move bricks also?)

    2. I would also assume that if i changed the spawn point form the origion spawn (Using the '/setspawn' command) It would protect the new spawn area? (If not please let me know if there is a way to solve this issues)

    Groups:
    Ok i understand that there is a default set of user groups and that you may add and delete your own, Questions are-
    1.How to add a new group
    2.How many groups can you add maximum
    3.How to assigne the user to the new group
    4.How to add/remove a specific permission to a group

    Regions:
    Lastnight when running my server for many hours a user asked me to "Protect" his house from users editing rights and "Lock his doors & chests"
    1.How do i set a region and name it
    2.How do i set a specific user to this region
    3.If it is possible, how can i set only certain weapons and items to be used in this region

    Another question would be, is it possible to create a region and then have it setup to say like... for example:

    My server is running and i have 3 users online. Call them X,Y & Z
    X Has a house on the left of the spawn point
    Y has one ON the spawn point
    Z has one on the right
    (With a decent space gap between them)

    Is it possible to set a region for each house, and have permissive groups for the specific regions (Not for the whole world) so X can be Admin in his region and if he wishes to make Z an Op he can an Y would be left as a user

    Or Z is Admin, he makes X & Y and op in his region, and any new users that come in have no permissive rights in thier regions

    Or of course Mean Mr.Y on the spawn point there has his house, he is Admin, and everyone else is just a user and cant do anything there.

    Oh and one more thing actually is the '/spawnmob' command:
    Ok so i figured it out nice and simple, "/Spawnmob "EXACT monster name" <Number of units to spawn>
    and for bosses of course just /eye,skeletron,eater,king blah blah blah <number to spawn>

    All works fine, eccept however when i try "/spawnmob "Bone Serpent" 1(Or any amount)
    It came up with an error (Something like "invald mob(3) already exists) or something cant remember but there was a mob(3) in there somewhere. Anyhelp?

    Also is this a known bug, i change the tim to night '/time night' and try to drop a fallen star to me '/star' it takes the command just fine but NEVER brings me any stars?

    As for '/dropmeteor' it is working, however after i drop two and it shows the notification "A meteor has landed" if i type it again it will nto show the notification but the server still takes it in (Has another landed and its just not notified?) I can however use the command again and get the notification, but it seems to have a random cooldown?

    And my finalt question (I promise) haha!

    Spawning ITEMS. Many people who have been playing on my medium "Fun" world have asked me to spawn them an item many times. I tell them that my mod does not have that feature, one or two however have said that TShock do, but i have no commands for it, and the commands people suggest never work just like i tell them it wont. So just to know, i can, or i cant spawn an item? (And if so what is the command)

    I have only made one "Fun" world, my other worlds are strict on no mod/hack rules. I also create 1 new character for each new world (And i keep my SP character completely seperate, she has never been to a Multiplayer world) So im not wanting to spawn items to get rich :p would just be fun for making up some battle modes with certain armor and weapon rules and such.

    Sorry for the lengthy post, just these command si have tried to get working but it seems the syntax i am using is wrong (Altho i dont know how as im putting in exactly what the command list says to)

    If i get this all up and running correctly i may start a weekly event on my server, so please anyone with answeres lemme know =]

    Anyways, one last thing, Is it possible to run the server multiple times on one machin eWITHOUT the use of any kind of VM/Container software (I.e Sandboxie)? I do not want to try opening the server client twice at the same time incase it scrambles any data, but i would prefer to be able to so i can have more then world up at a time (Unless it is possible to run 2 worlds on 1 server client?)

    If this is not possible, i suggest TShock make a multi server application in the near future :)

    Thanks again advance for any1 who is willing to answere my many questions

    Jess
  2. Olink TShock Developer

  3. Red_Headed_Tranny New Member

    Thanks for the reply altho i already have a copy of the command slist from the links you have posted saved in a .txt document in my server folder for quick referance.

    I have referred to these commands but i cant seem to get them to work and i am not sure what i am doing wrong. I wa shoping if possible for examples on what i woudl type to use these commands, especially for adding groups with differant permissions and regions. I have tried several times to setup a region using the commands given in the links you posted and for some reason i keep getting some kind of error here n there not allowing me to set them up. i can set a temporary region but i cant make my own named regions to assigne people and rules to at all.

    Thanks again

    Jess
  4. Olink TShock Developer

    regions dont have rules
    regions dont have groups
    regions require( last time i looked at it ) the manageregion permission.
  5. darkos Tshock supporter and programming hack.

    i tried adding that manageregion permission to the group and still my mods dont have access to any /region commands. i also gave them editspawn rights and did a reload with no luck.
  6. Akemi New Member

    I'm having this problem too. I tried to give my admit the editspawn permissions to allow them to ptotect regions for users and no matter what, they don't have access unless i made them superadmin ( wich honestly I don't want )
  7. darkos Tshock supporter and programming hack.

    akemi- i had to add the permissions and shutdown/restart the server completely to have it work properly
  8. Akemi New Member

    I tried that. For some reason it doesn't work for me. Superadmin can use /region but no one else can. Trustedadmin has every permission super admin does on my server
  9. omega84 TShock Supporter

    I have the same problem. I created a new position even named topadmin and gave it ALL permissions, I am running no plugins just a fresh install of Tshock but no matter what i do only superadmins can use the region command. Are the developers aware of this bug since it has been a problem for the last 6 Tshock updates I have used. Also, there are some commands that are not listed in the Commands and permissions wiki such as the /grow command which also my top admin doesn't have permission to do. Does anyone know where to find a more complete list of all the commands? I really don't want to make all my admins super admins so I really hope there is a fix in the workings.
  10. Olink TShock Developer

    Guess what? No one has actually posted logs or anything so no, its not on our list.

    And since only a few( 2-3 ) people have said its broken, we cant really rely on that when we have handfuls of people using it without issue.
  11. omega84 TShock Supporter

    Well I'm not sure what logs to post. What is the command permission needed to set up regions? In the wiki it says "editspawn" is the permission needed to use the region command. What we are saying is we have given this command to a group but still the group cannot use the command, it says you do not have permission to do this. There are no crashes to report, but here is a log of me trying to do it:

    2011-10-02 08:52:33 - Commands: INFO: Omega authenticated successfully as user: omega
    2011-10-02 08:52:38 - Commands: INFO: Omega executed: /i 7
    2011-10-02 08:52:45 - Commands: INFO: Omega executed: /i 1
    2011-10-02 08:53:39 - Commands: INFO: Omega executed: /modgroup add trustedadmin editspawn
    2011-10-02 08:53:57 - Commands: INFO: Omega authenticated successfully as user: admin
    2011-10-02 08:54:13 - Commands: INFO: Omega tried to execute region
    2011-10-02 08:54:37 - Commands: INFO: Omega authenticated successfully as user: omega
    2011-10-02 08:54:42 - Commands: INFO: Omega executed: /region set 1
    2011-10-02 08:55:24 - Commands: INFO: Omega executed: /modgroup add admin editspawn
    2011-10-02 08:55:32 - Commands: INFO: Omega authenticated successfully as user: admin
    2011-10-02 08:55:37 - Commands: INFO: Omega tried to execute region
    2011-10-02 08:55:50 - TShock: INFO: Broadcast: [trustedadmin] <Omega> see? doesnt work
    2011-10-02 08:56:06 - Commands: INFO: Omega executed: /off
    2011-10-02 08:56:06 - Tools: INFO: 127.0.0.1 was force kicked for : Server shutting down!
    2011-10-02 08:56:11 - Action`1: INFO: Omega left.
  12. Olink TShock Developer

    And this is why i hate dealing with people who cant read.

    manageregion

    Description: User can edit regions
    Commands: /region /debugreg
    oxlivin likes this.
  13. omega84 TShock Supporter

    No need to be rude buddy. As a matter of fact I can read quite well. My problem was this misleading and confusing part in "commands and permissions" link in the Wiki.
    Permissions Required: editspawn

    • /antibuild - Toggles build protection.
    • /protectspawn - Toggles spawn protection.
    • /region set [1/2] - Sets temporary region points
    • /region name - Shows the name of the region you are in
    • /region define [name] - Adds temporary region points into the region list
    • /region delete [name] - Deletes the specified region
    • /region allow [name] [regionname] - Allows a player to build in specified region
    • /region list - Shows a named list of all regions for that world
    • /region help - Lists region help
    I see now that the permission was listed under the "all permissions" link. Another reason we were having difficulty finding it was because the permission was not and is not listed in the DBEditor list of permissions. Its no big deal I know we can manually add the permission to a group in game. Thanks for your help anyway. I really like Tshock you guys do a fine job.
  14. Olink TShock Developer

    Dont call me rude when you couldnt read and thus made me waste 30 seconds replying to your thread.
  15. TheUknownUser New Member

    Can someone tell me how to make someone admin on the server.
  16. omega84 TShock Supporter

    See the link in my sig? That's my youtube channel which explains everything you will need to know about Tshock. I posted here back when I was an ignorant noob :p and this thread (and the general lack of anything informative on youtube) led me to make my channel.

Share This Page