May 25, 2013, 08:25:21 PM
Pre-Releases are now available at the PreRelease section.
If any issues occur please post exceptions or information as to how to reproduce in the correct section.

Author Topic: Standards for permissions  (Read 712 times)

0 Members and 1 Guest are viewing this topic.

Malkierian

  • TDSM Team Member
  • Sr. Member
  • *****
  • Posts: 338
  • Karma: +20/-0
    • View Profile
Standards for permissions
« on: June 27, 2011, 11:47:25 AM »
I've been thinking about the permissions thing, and how there's no linking of usernames to accounts on Terraria, and a friend reminded me about Steam IDs, and so I ask, does Terraria transmit any Steam information back and forth that we could tie into to get true permissions (making game names irrelevant and possible to have permissions across name accounts)?

Pure

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Standards for permissions
« Reply #1 on: June 27, 2011, 11:50:22 AM »
This is something that has been bothering my for a few days now, people can just switch up there name and log in as someone else, anyone got a solution?

Dragoboss

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Standards for permissions
« Reply #2 on: June 27, 2011, 12:00:22 PM »
Doesn't steam have some sort of SteamID thingy? I saw it in Portal 2, I wonder if that's like an unique id per person or something... Else you should try to bind permissions to IP I guess...

Or you should make an authentication plugin...

Pure

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Standards for permissions
« Reply #3 on: June 27, 2011, 12:03:46 PM »
Each steam user registered an account and is given a Steam ID in the form of numbers, (such as Steam_14352072). Users can then change their Nickname (Screen Name) to whatever they want as many times as they want, but their account is still linked to the Steam ID. What confuses me is that you can change your nickname in Terraria to something other then your Screen name. Does this Terraria Name connect to the > Screen Name > that connects to your Steam ID?

OkiFool

  • Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Standards for permissions
« Reply #4 on: June 27, 2011, 12:06:40 PM »
What do we do for users with pirated copies?

Pure

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Standards for permissions
« Reply #5 on: June 27, 2011, 12:07:12 PM »
What do we do for users with pirated copies?

Send them a nice gift.

Malkierian

  • TDSM Team Member
  • Sr. Member
  • *****
  • Posts: 338
  • Karma: +20/-0
    • View Profile
Re: Standards for permissions
« Reply #6 on: June 27, 2011, 12:19:29 PM »
Steam IDs seems to be the way to go for permissions.  But that brings up another question:  Is Steam the only way to buy Terraria?

Hidendra

  • Plugin Developer
  • Jr. Member
  • ****
  • Posts: 52
  • Karma: +1/-0
    • View Profile
Re: Standards for permissions
« Reply #7 on: June 27, 2011, 03:59:39 PM »
Steam IDs seems to be the way to go for permissions.  But that brings up another question:  Is Steam the only way to buy Terraria?
Yes.

From what I've looked at, Terraria does not make use of steamworks yet.

Malkierian

  • TDSM Team Member
  • Sr. Member
  • *****
  • Posts: 338
  • Karma: +20/-0
    • View Profile
Re: Standards for permissions
« Reply #8 on: June 27, 2011, 04:05:22 PM »
From what I've looked at, Terraria does not make use of steamworks yet.
And that's what would be needed to make use of Steam IDs?  Isn't that what makes the chat function work?

Hidendra

  • Plugin Developer
  • Jr. Member
  • ****
  • Posts: 52
  • Karma: +1/-0
    • View Profile
Re: Standards for permissions
« Reply #9 on: June 27, 2011, 04:27:24 PM »
From what I've looked at, Terraria does not make use of steamworks yet.
And that's what would be needed to make use of Steam IDs?  Isn't that what makes the chat function work?
Well, Terraria is published on Steam, yes, but that does not mean it has access to steamworks (which is no simple thing to get access to.)

If you're using the official API, they only offer C++ headers for it -- not Dlls (from what I have read and what Valve says.)


A more close to the present solution could be server-side authentication: you register your name in-game and you have to login with it when you get into game (e.g /login <password>) -- thus allowing you to then do whatever (similar to /oplogin)

Malkierian

  • TDSM Team Member
  • Sr. Member
  • *****
  • Posts: 338
  • Karma: +20/-0
    • View Profile
Re: Standards for permissions
« Reply #10 on: June 27, 2011, 05:09:16 PM »
From what I've looked at, Terraria does not make use of steamworks yet.
And that's what would be needed to make use of Steam IDs?  Isn't that what makes the chat function work?
Well, Terraria is published on Steam, yes, but that does not mean it has access to steamworks (which is no simple thing to get access to.)

If you're using the official API, they only offer C++ headers for it -- not Dlls (from what I have read and what Valve says.)


A more close to the present solution could be server-side authentication: you register your name in-game and you have to login with it when you get into game (e.g /login <password>) -- thus allowing you to then do whatever (similar to /oplogin)
Ooh, I like that.  That would be very useful.  Better, it should log the IPs that register the usernames, so we can tell when someone abuses it and monopolizes names :D.

Malkierian

  • TDSM Team Member
  • Sr. Member
  • *****
  • Posts: 338
  • Karma: +20/-0
    • View Profile
Re: Standards for permissions
« Reply #11 on: June 28, 2011, 12:59:40 PM »
Thinking on this a little more, it seems to me that it would be best to have something like /login <user> <pass> so any character name someone may login with has their rank/permissions available to them.  What do you think?

The Prodigy

  • Plugin Developer
  • Full Member
  • ****
  • Posts: 146
  • Karma: +1/-0
  • Samual Lewis
    • View Profile
Re: Standards for permissions
« Reply #12 on: June 28, 2011, 01:03:11 PM »
Thinking on this a little more, it seems to me that it would be best to have something like /login <user> <pass> so any character name someone may login with has their rank/permissions available to them.  What do you think?

Yes, that is a great idea. Similar to the op login. Because anyone can make someone else's name and play on them.
[b31]SpawnGuardPE
-Protect customizable zones and set permissions!

[b31]CustomChat
-Customize every aspect of player to player chat!

Kerazene

  • Jr. Member
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Standards for permissions
« Reply #13 on: June 28, 2011, 03:24:06 PM »
Thinking on this a little more, it seems to me that it would be best to have something like /login <user> <pass> so any character name someone may login with has their rank/permissions available to them.  What do you think?

I think this is a great idea. Perhaps the plugin completely stops the user from placing, dropping, and picking up things until they login?

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal