Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Users table
- drop table if exists `player_info`;
- create table if not exists `player_info`
- (
- -- Identificação
- `id` int(11) not null auto_increment,
- `name` varchar(24) not null,
- -- Registro
- `password` varchar(130) not null,
- `password_tip` varchar(64) not null,
- `secret_ask` varchar(64) not null,
- `secret_answer` varchar(64) not null,
- -- Informações pessoais
- `gender` int(11) not null,
- `day` int(11) not null,
- `month` int(11) not null,
- `year` int(11) not null,
- `age` int(11) not null,
- `skin` int(11) not null,
- -- Sistema de nível
- `exp` float not null default '0.0',
- `level` int(11) not null default '1',
- -- Salvar posição após crash
- `leave_reason` int(11) not null default '-1',
- `interior` int(11) not null default '0',
- `world` int(11) not null default '0',
- `x` float not null default '0',
- `y` float not null default '0',
- `z` float not null default '0',
- `angle` float not null default '0',
- `health` float not null default '100',
- `armour` float not null default '100',
- primary key (`id`),
- unique key (`id`)
- ) comment = 'Dados dos jogadores do servidor.';
- -- Ban table
- drop table if exists `ban_info`;
- create table if not exists `ban_info`
- (
- `ban_name` varchar(24) not null,
- `ban_admin` varchar(24) not null,
- `ban_reason` varchar(64) not null,
- `ban_date` varchar(30) not null,
- `ban_ip` varchar(16) not null
- ) comment = 'Dados dos banimentos ocorridos no servidor.';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement