1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Permissions and such...

Discussion in 'Help and Support' started by Chris230291, Jul 1, 2014.

  1. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    Hello!
    First of all I'd like to thank the devs for creating TShock. I couldn't get the standard Terraria server to work so I turned to this which worked flawlessly first time.

    However, not everything is how I'd like it. I would like to set it up to behave exactly like if I hosted a world from within the Terraria client. Basically, if it can be done in the vanilla game, I'd like it to be possible in my Tshock server... for ANY user. I have no interest in setting up groups other than the superadmin group, which I've done just to troll my mates. The server is password protected and all of the people that will be playing on it are trustworthy.

    Can anyone help me get this configured so it behaves exactly like the vanilla game for every player?

    Cheers,
    Chris.
     
  2. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644
    Yes. Remove TShockAPI.dll from your ServerPlugins folder. All TShock related features will then be disabled.
     
  3. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    Ok thanks.
    Will the admin feature still be there though?

    Chris
     
  4. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    300
    If you remove TShockAPI.dll then nope, that's part of TShock also.
    I would just give these permissions to the guest group. It's basically the same thing as vanilla server in my opinion.
    type: /group addperm guest EachPermissionListedBelow

    tshock.ignore.*
    tshock.tp.rod
    tshock.world.modify
    tshock.item.usebanned

    You could also enable ChatAboveHeads in the config file.
     
  5. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13


    OK sweet. So I would still have all of the toys but players wouldn't notice the difference between it and a vanilla world? Players will be able to place a spawn point wherever and summon bosses etc?

    I did look through that PDF at the permission commands but I think the descriptions need some work.

    Cheers,
    Chris.
     
  6. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Hiya. If you want to emulate full vanilla, you're probably best off going through here: https://tshock.atlassian.net/wiki/pages/viewpage.action?pageId=3047433 and adding all permissions that relate to gameplay rather than commands (eg tshock.world.*, tshock.ignore.*, tshock.npc.*).
    Hope that helps
     
  7. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13

    Thanks alot. I've done that now so I guess we will see if players run into any problems and address them as they come.
    Can I just clarify that the "guest" group if the default group users are put into if they haven't already got a group?

    Cheers,
    Chris.
     
  8. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Correct. Upon logging in, users are then switched to the 'default' group, though I assume in the context of your server, this will be unimportant ^^
     
  9. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    Sorry... Should I have done "/group addperm guest..." or "/group addperm default...."

    Cheers,
    Chris
     
  10. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    /group addperm guest
    assuming you don't want your players to have to /register and /login (registering and logging in is not vanilla behaviour)
     
  11. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13

    Sweet thats what I did, thanks.
    While I'm here, are there any cool plugins or options I might want to look at?

    Chris
     
  12. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Depends on what style you're looking for in your server. The best thing I can recommend is browsing through here: https://tshock.co/xf/index.php?forums/plugin-releases.15/ and seeing what catches your fancy
     
  13. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    OK cool. I have installed what I presume is your statistics plugin? The avatar is the same.
     
    • Like Like x 1
  14. MarioE

    TShock Admin TShock Mod Plugin Developer

    Joined:
    May 26, 2012
    Messages:
    383
    Removing TShock and just using TSAPI is a pretty poor idea anyway. For example, the join/quit messages are disabled; they're handled in TShock.
     
  15. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644

    He made it seem like vanilla TerrariaServer.exe didn't work for him, so I assume our modified one works fine. Why would you install TShock and never use it? Might as well remove it.
     
  16. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    Yes the vanilla TerrariaServer.exe wouldn't work on my server. After looking up the errors online it seems a huge number of silly things that shouldn't affect the operation of the program do (sound drivers etc wtf?!). I switched to Tshock and everything is great. I just didn't want it super secure as the people using it are all part of our small community. I have installed the history plugin just incase I need to restore something.

    I will report back if users are still unable to do things that they should be able to.

    Cheers,
    Chris.
     
  17. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644
    Keep in mind. You cannot use other plugins if you remove TShockAPI.dll from your ServerPlugins folder.

    It's all or nothing.
     
  18. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    Yes I understand that. I just gave all of the suggested permissions to the guest group to try and make it appear vanilla. The plugins are awesome, I'm glad I stumbled upon this.
     
  19. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644
    Also, the guest group is the group that players are put in to if they are not registered or not logged in. If someone registers and logs in then they're in the default group.
     
  20. Chris230291

    Chris230291 Level 1

    Joined:
    Jul 1, 2014
    Messages:
    13
    Arh right OK. Can I disable registration/login, except for the superadmins?