Mineplex/Mineplex.Database/033-npcs.sql
Daniel Waggner fc179e824b Database go brrrrrrr
No idea why, but the database deleted all of the information...  These files are also logged in the Discord Changelog channel and are uploaded to mediafire... Nevertheless, here they are anyhow (plus a bunch of empty tables that I'm too lazy to take out of this commit)
2021-05-28 22:22:21 -07:00

43 lines
898 B
SQL

create or replace table npcs
(
id int auto_increment,
server varchar(50) not null,
name varchar(255) null,
world varchar(50) not null,
x float not null,
y float not null,
z float not null,
yaw float default 1 not null comment '""',
pitch float default 1 not null,
radius float not null,
entityType varchar(100) not null,
entityMeta varchar(100) null,
adult bit not null,
helmet tinytext null,
chestplate tinytext null,
leggings tinytext null,
boots tinytext null,
inhand tinytext null,
info tinytext null,
infoRadius float null,
infoDelay int null,
in_hand_data int null,
entity_type varchar(32) null,
metadata varchar(32) null,
skin_value varchar(400) null,
skin_signature varchar(700) null,
constraint id_2
unique (id)
)
charset=latin1;
create or replace index id
on npcs (id);
create or replace index id_3
on npcs (id);
alter table npcs
add primary key (id);