mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Patreon Modifications
- Adds a `donators` table for our patreon supporters.
- Intended to be half-automated, half-manual, in order to correlate
patreon accounts to ckeys. Uses the `active` field so that supporters
don't have to have their ckey associated every time they stop and
restart their donations.
- Current actions:
- Donators at tier 1 or greater get a palm tree next to their name in OOC
(toggleable)
- Donators at tier 1 or greater get +5 loadout points.
- Known issue: Loadout points will not update if the table is
modified during a round where the user has already logged in, due
to preference datum caching. There's not really any good way to fix
this, unfortunately.
This commit is contained in:
@@ -140,6 +140,24 @@ CREATE TABLE `SS13_death` (
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=166546 DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `donators`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `SS13_donators`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `donators` (
|
||||
`patreon_name` varchar(32) NOT NULL,
|
||||
`tier` int(2),
|
||||
`ckey` varchar(32) COMMENT 'Manual Field',
|
||||
`start_date` datetime,
|
||||
`end_date` datetime,
|
||||
`active` boolean,
|
||||
PRIMARY KEY (`patreon_name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `SS13_admin`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user