@eves26phylum/types 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/global.d.ts +421 -4
  2. package/package.json +1 -1
package/global.d.ts CHANGED
@@ -114,6 +114,7 @@ declare const Signal: {
114
114
  new<T extends (...args: any[]) => void = (...args: any[]) => void>(): SignalInstance<T>;
115
115
  };
116
116
 
117
+ type ExcludeInstanceKeys<T> = Pick<T, Exclude<keyof T, keyof Instance>>
117
118
 
118
119
  // ================================================================
119
120
  // INSTANCE SYSTEM [SHARED]
@@ -187,6 +188,7 @@ type WrappedInstance<T extends Instance = Instance> = {
187
188
  is_descendant_of: (instance: WrappedInstance) => boolean;
188
189
 
189
190
  } & Pick<StripRobloxBrands<InstanceProperties<T>>, Exclude<keyof StripRobloxBrands<InstanceProperties<T>>, 'Parent'>>
191
+ // remove default instance .Parent merging with main
190
192
 
191
193
  /**
192
194
  * Result of tags.get_tagged / tags.get_all_tagged.
@@ -379,15 +381,430 @@ declare namespace query {
379
381
  * (for…in) does not work. Use `sharedvars_descriptions` to enumerate keys.
380
382
  * Writes only take effect when executed on the server.
381
383
  */
384
+ // Credit goes to speedyfox67 in the Deadline community
382
385
  declare const sharedvars: {
386
+ /** Whether staying in the air will kill you. */
387
+ ac_airtime_kill: boolean;
388
+ /** Whether movement anticheat is enabled. */
389
+ ac_movement: boolean;
390
+ /** Timeout before invalidating a shot. */
391
+ ac_shot_timeout: number;
392
+ /** @internal */
393
+ ac_sound_kill: boolean;
394
+ /** Whether analytics are enabled. */
395
+ api_analytics_enabled: boolean;
396
+ /** Game-wide announcement. */
397
+ api_announcement: string;
398
+ /** Whether the server will handle messages from deadlinegame.com. */
399
+ api_messaging_enabled: boolean;
400
+ /** Newest server version. */
401
+ api_newest_server_version: string;
402
+ /** Game update message shown to returning players. */
403
+ api_update_message: string;
404
+ /** How close a bot has to be to its target to consider it reached. */
405
+ bot_target_reach_distance: number;
406
+ /** Whether chat announces server changes. */
407
+ chat_announce_changes: boolean;
408
+ /** Whether chat is disabled. */
409
+ chat_disable: boolean;
410
+ /** Maximum chat history. */
411
+ chat_max_history: number;
412
+ /** How often chat tips are shown. */
413
+ chat_tip_frequency: number;
383
414
  /** Toggles chat tips for all players. [SERVER] */
384
415
  chat_tips_enabled: boolean;
385
- /** Adds an offset in hours to the in-game clock. */
386
- sv_time_offset: number;
387
- /** When false, players are blocked from spawning. [SERVER] */
388
- sv_spawning_enabled: boolean;
416
+ /** Whether the server is shutting down. */
417
+ crit_shutdown: boolean;
418
+ /** Whether backblast debug is active. */
419
+ dbg_backblast: boolean;
420
+ /** Whether bot pathfinding lines are enabled. */
421
+ dbg_bot_pathfind_lines: boolean;
422
+ /** Whether Canim animator debug is enabled. */
423
+ dbg_canim: boolean;
424
+ /** Whether additional error info exists. */
425
+ dbg_catch_errors: boolean;
426
+ /** Whether character controller gizmos are enabled. */
427
+ dbg_char_gizmos: boolean;
428
+ /** Whether thread yielding checks are enabled. */
429
+ dbg_check_for_thread_yielding: boolean;
430
+ /** Whether to show node offset debug UI in builder. */
431
+ dbg_debug_node_offsets: boolean;
432
+ /** Whether lighting will update according to lighting preset and time. */
433
+ dbg_disable_weather: boolean;
434
+ /** Debugger in the editor. */
435
+ dbg_editor_debugger: boolean;
436
+ /** Whether stats previews are disabled in the editor. */
437
+ dbg_editor_disable_stat_previews: boolean;
438
+ /** Enables the recommended attachment system in the editor. */
439
+ dbg_enable_editor_recommended: boolean;
440
+ /** Whether RemoteEvent profiling is enabled. */
441
+ dbg_event_profiling: boolean;
442
+ /** Hold to interact time for magchecking and firemode checking. */
443
+ dbg_game_hold_to_interact_time: number;
444
+ /** Whether fps is limited to dbg_max_fps. */
445
+ dbg_limit_fps: boolean;
446
+ /** Logservice screen output. */
447
+ dbg_logservice: boolean;
448
+ /** Enables customizing the ammo positions in the editor. */
449
+ dbg_mag_stack: boolean;
450
+ /** Max fps limit while dbg_limit_fps is enabled. */
451
+ dbg_max_fps: number;
452
+ /** Debugger for aimmarker positioning error. */
453
+ dbg_optics: boolean;
454
+ /** Whether to regen weapon offsets at runtime. */
455
+ dbg_position_runtime_regen: boolean;
456
+ /** Delay after dying before death screen. */
457
+ dbg_post_death_delay: number;
458
+ /** Whether rigging mode is enabled. */
459
+ dbg_prepare_for_rig: boolean;
460
+ /** Whether microprofiler tags are enabled. */
461
+ dbg_profiling: boolean;
462
+ /** Projectile gizmos. */
463
+ dbg_projectile: boolean;
464
+ /** Enables customizing any weapon recoil patterns in the F10 menu. */
465
+ dbg_recoil: boolean;
466
+ /** Whether shell extraction location is shown. */
467
+ dbg_show_shell_location: boolean;
468
+ /** Whether to show raycast shot trajectory. */
469
+ dbg_show_shot_trajectory: boolean;
470
+ /** Spawn transition time. */
471
+ dbg_spawn_transition_time: number;
472
+ /** Whether to log rodux store changes. */
473
+ dbg_store_changes: boolean;
474
+ /** Whether the gunshot emitter test mode is enabled. Only works while joining. */
475
+ dbg_test_gunshot_emitter: boolean;
476
+ /** Whether vaulting debug is enabled. */
477
+ dbg_vault_lines: boolean;
478
+ /** Whether warpzone debug is enabled. */
479
+ dbg_warpzones: boolean;
480
+ /** Whether compatibility check limits are enabled. */
481
+ editor_compatibility_checks: boolean;
482
+ /** Editor hover distance. */
483
+ editor_hover_distance: number;
484
+ /** Whether you can mount any attachment in any attachment slot. Allows for very scuffed gun builds. */
485
+ editor_mount_anything: boolean;
486
+ /** Whether attachment streaming on-demand is enabled. */
487
+ ff_attachment_streaming: boolean;
488
+ /** Enables voicelines when reloading, and throwing throwables */
489
+ ff_field_voicelines: boolean;
490
+ /** [READ-ONLY] Game branch. */
491
+ readonly game_branch: string;
492
+ /** [READ-ONLY] Game version. */
493
+ readonly game_version: string;
494
+ /** Whether loadout editing is disabled. */
495
+ gm_disable_loadout_editing: boolean;
496
+ /** How long a TDM match lasts in minutes. */
497
+ gm_match_time_minutes: number;
498
+ /** Whether objective markers are enabled. */
499
+ gm_objective_markers: boolean;
500
+ /** How many points to award per second in other gamemodes. */
501
+ gm_points_per_second: number;
502
+ /** Whether players are forced to spawn in push. */
503
+ gm_push_force_spawning: boolean;
504
+ /** How long to wait before spawning players in push. */
505
+ gm_push_spawn_timer: number;
506
+ /** Whether spawning is enabled in push. */
507
+ gm_push_spawning: boolean;
508
+ /** How long to wait before capturing a point in push. */
509
+ gm_push_time_to_capture: number;
510
+ /** How long to wait before refilling ammo with the refill interactable. */
511
+ gm_refill_interactable_cooldown_time: number;
512
+ /** Server replication frequency in hertz. */
513
+ gm_replication_frequency_hz: number;
514
+ /** Server replication packet size for outgoing player data. */
515
+ gm_replication_packet_size_bytes_outgoing: number;
516
+ /** The amount of players a team can be unbalanced by before team switching isn't allowed. */
517
+ gm_team_balancing_threshold: number;
518
+ /** Whether team scrambling is enabled when a match starts. */
519
+ gm_team_scrambling: boolean;
520
+ /** How long to wait before capturing a point in other gamemodes. */
521
+ gm_time_to_capture: number;
522
+ /** [READ-ONLY] Whether the server is a VIP server. */
523
+ readonly is_vip_server: boolean;
524
+ /** [READ-ONLY] Place configuration. Decides whether the server runs as the lobby or main game. */
525
+ readonly place_config: string;
526
+ /** Whether aiming in bushes is enabled. */
527
+ plr_aim_in_bushes: boolean;
528
+ /** Whether the magcheck UI is always shown. */
529
+ plr_always_show_magcheck: boolean;
530
+ /** Player arm stamina drain. */
531
+ plr_arm_stamina_drain: number;
532
+ /** Player arm stamina drain while holding breath. */
533
+ plr_arm_stamina_drain_hold_breath: number;
534
+ /** Player arm stamina regen speed. */
535
+ plr_arm_stamina_regen: number;
536
+ /** Player arm stamina regen speed while crouching. */
537
+ plr_arm_stamina_regen_crouch: number;
538
+ /** Whether auto jump is enabled. */
539
+ plr_auto_jump: boolean;
540
+ /** Player barrel deviation. */
541
+ plr_barrel_deviation: number;
542
+ /** Player base weight. */
543
+ plr_base_weight: number;
544
+ /** Player buck barrel deviation. */
545
+ plr_buck_barrel_deviation: number;
546
+ /** Debounce before you can cancel a reload again. */
547
+ plr_cancel_reload_timeout: number;
548
+ /** Whether ceasefire is enabled. */
549
+ plr_ceasefire: boolean;
550
+ /** Player damage multiplier. */
551
+ plr_damage_multiplier: number;
552
+ /** Whether shot location is shown in death view. */
553
+ plr_death_view_shot_location: boolean;
554
+ /** Default camera mode. Values include Default, Freecam, TPerson. */
555
+ plr_default_camera_mode: string;
556
+ /** Default NVG DOF focus distance. */
557
+ plr_default_nvg_dof_distance: number;
558
+ /** Whether explosive projectile arming is disabled, meaning they will explode upon contact immediately. */
559
+ plr_disable_arming: boolean;
560
+ /** Whether NVG is disabled. */
561
+ plr_disable_nvg: boolean;
562
+ /** Whether RPG ammo refills are disabled. */
563
+ plr_disable_rpg_refill: boolean;
564
+ /** How long it takes to drown. */
565
+ plr_drown_time: number;
566
+ /** Drum magazines available when spawning for drums. */
567
+ plr_drum_magazines: number;
568
+ /** Whether one hand aiming is enabled. When enabled, the default keybind is I. */
569
+ plr_enable_gangsta_control: boolean;
570
+ /** Whether leaderboard markers are enabled. */
571
+ plr_enable_leaderboard_points: boolean;
572
+ /** Whether markers are enabled. */
573
+ plr_enable_markers: boolean;
574
+ /** Whether mounting is enabled. */
575
+ plr_enable_mounting: boolean;
576
+ /** Player ergonomics multiplier. */
577
+ plr_ergonomics_multiplier: number;
578
+ /** Player explosion blast pressure. */
579
+ plr_explosion_blast_pressure: number;
580
+ /** Player explosion damage multiplier. */
581
+ plr_explosion_damage_multiplier: number;
582
+ /** Whether fall damage is enabled. */
583
+ plr_fall_damage: boolean;
584
+ /** Camera FOV while in freecam. */
585
+ plr_freecam_fov: number;
586
+ /** Player grenade throw strength. */
587
+ plr_grenade_throw_strength: number;
588
+ /** Player headshot damage multiplier. */
589
+ plr_headshot_damage_multiplier: number;
590
+ /** Player health regen speed. */
591
+ plr_health_regen_sec: number;
592
+ /** Player hip height. */
593
+ plr_hipheight: number;
594
+ /** Player initial health. */
595
+ plr_initial_health: number;
596
+ /** How much time the player has after spawning to reset to the lobby instantly. */
597
+ plr_instant_lobby_return_time: number;
598
+ /** Whether you can switch directions while in the air. */
599
+ plr_jump_control_momentum: boolean;
600
+ /** Player jump frequency in hz. */
601
+ plr_jump_frequency: number;
602
+ /** Player jump multiplier. */
603
+ plr_jump_multiplier: number;
604
+ /** Player jump recovery time in seconds. */
605
+ plr_jump_recovery: number;
606
+ /** Player laser max directional distance. */
607
+ plr_laser_max_directional_distance: number;
608
+ /** Whether lens flare is enabled. */
609
+ plr_lens_flare: boolean;
610
+ /** How long to wait before hiding magazine stats. */
611
+ plr_mag_stats_timeout: number;
612
+ /** Magazines available when spawning for non-drum weapons. */
613
+ plr_magazines: number;
614
+ /** Player max arm stamina. */
615
+ plr_max_arm_stamina: number;
616
+ /** Player max directional distance. */
617
+ plr_max_directional_distance: number;
618
+ /** Player max object interaction distance. */
619
+ plr_max_interaction_distance: number;
620
+ /** Player max stamina. */
621
+ plr_max_stamina: number;
622
+ /** Player model. Values include main, orchids_pbr_set, orchids_shark_set. */
623
+ plr_model: string;
624
+ /** Whether momentum is enabled. */
625
+ plr_momentum: boolean;
626
+ /** Player movement smoothing. */
627
+ plr_movement_damping: number;
628
+ /** Player movement stiffness at maximum weight. */
629
+ plr_movement_max_stiffness: number;
630
+ /** Player movement stiffness at minimum weight. */
631
+ plr_movement_min_stiffness: number;
632
+ /** Color player NVG. */
633
+ plr_nv_color: Color3;
634
+ /** Projectile penetration multiplier. */
635
+ plr_penetration_multiplier: number;
636
+ /** Maximum allowed player ping. */
637
+ plr_ping_limit_sec: number;
638
+ /** How long the ping has to be over plr_ping_limit_sec for the client to get kicked. */
639
+ plr_ping_timeout_sec: number;
640
+ /** Ping warning threshold in milliseconds. */
641
+ plr_ping_warning_threshold_ms: number;
642
+ /** Whether PVP is enabled. */
643
+ plr_pvp: boolean;
644
+ /** Player ragdoll throw strength. */
645
+ plr_ragdoll_strength: number;
646
+ /** Global recoil multiplier. */
647
+ plr_recoil: number;
648
+ /** Player replication frequency in hz. */
649
+ plr_replication_frequency_hz: number;
650
+ /** Player replication rollback time in milliseconds. */
651
+ plr_replication_rollback_time_ms: number;
652
+ /** Delay before the player dies after resetting. */
653
+ plr_reset_delay: number;
654
+ /** Player shove bayonet distance. */
655
+ plr_shove_bayonet_distance: number;
656
+ /** Player shove bayonet headshot damage. */
657
+ plr_shove_bayonet_headshot_damage: number;
658
+ /** Player shove bayonet limb damage. */
659
+ plr_shove_bayonet_limb_damage: number;
660
+ /** Player shove bayonet torso damage. */
661
+ plr_shove_bayonet_torso_damage: number;
662
+ /** Player shove distance. */
663
+ plr_shove_distance: number;
664
+ /** Player shove headshot damage. */
665
+ plr_shove_headshot_damage: number;
666
+ /** Player shove limb damage. */
667
+ plr_shove_limb_damage: number;
668
+ /** Player shove melee headshot damage. */
669
+ plr_shove_melee_headshot_damage: number;
670
+ /** Player shove melee limb damage. */
671
+ plr_shove_melee_limb_damage: number;
672
+ /** Player shove melee torso damage. */
673
+ plr_shove_melee_torso_damage: number;
674
+ /** Player shove torso damage. */
675
+ plr_shove_torso_damage: number;
676
+ /** Whether the magcheck UI shows exact ammo. */
677
+ plr_show_exact_magcheck_ammo: boolean;
678
+ /** Spare rounds for single-shot weapons. */
679
+ plr_single_shot_spare_rounds: number;
680
+ /** Spare rounds for internal-magazine weapons. */
681
+ plr_spare_rounds: number;
682
+ /** Player speed multiplier. */
683
+ plr_speed: number;
684
+ /** Player stamina regen speed while crouching. */
685
+ plr_stamina_crouch_regen: number;
686
+ /** Player stamina jump drain. */
687
+ plr_stamina_jump_drain: number;
688
+ /** Player stamina lean drain. */
689
+ plr_stamina_lean_drain: number;
690
+ /** Player stamina regen speed. */
691
+ plr_stamina_regen: number;
692
+ /** Player stamina run drain. */
693
+ plr_stamina_run_drain: number;
694
+ /** Player stamina shake multiplier. */
695
+ plr_stamina_shake_multiplier: number;
696
+ /** Whether suppression is enabled. */
697
+ plr_suppression: boolean;
698
+ /** Player swift switch speed multiplier. */
699
+ plr_swift_switch_speed_multiplier: number;
700
+ /** Whether team killing is enabled. */
701
+ plr_team_kill: boolean;
702
+ /** Player vault barrier detection raycast multiplier. Set dbg_vault_lines to true before playing with these values! */
703
+ plr_vault_barrier_detection_raycast_multiplier: number;
704
+ /** Player vault barrier distance addition. Set dbg_vault_lines to true before playing with these values! */
705
+ plr_vault_barrier_distance_addition: number;
706
+ /** Player vault barrier height reduction. Set dbg_vault_lines to true before playing with these values! */
707
+ plr_vault_barrier_height_reduction: number;
708
+ /** Player vault barrier initial delay multiplier. Set dbg_vault_lines to true before playing with these values! */
709
+ plr_vault_barrier_initial_delay_multiplier: number;
710
+ /** Player vault barrier move time multiplier. Set dbg_vault_lines to true before playing with these values! */
711
+ plr_vault_barrier_move_time_multiplier: number;
712
+ /** Player vault barrier throw multiplier. Set dbg_vault_lines to true before playing with these values! */
713
+ plr_vault_barrier_throw_multiplier: number;
714
+ /** Player vault frontal detection length. Set dbg_vault_lines to true before playing with these values! */
715
+ plr_vault_frontal_detection_length: number;
716
+ /** Player vault frontal size x. Set dbg_vault_lines to true before playing with these values! */
717
+ plr_vault_frontal_size_x: number;
718
+ /** Player vault frontal size y. Set dbg_vault_lines to true before playing with these values! */
719
+ plr_vault_frontal_size_y: number;
720
+ /** Player vault height. */
721
+ plr_vault_height: number;
722
+ /** Player vault inward offset. Set dbg_vault_lines to true before playing with these values! */
723
+ plr_vault_inward_offset: number;
724
+ /** Player vault max delay before starting animation. */
725
+ plr_vault_max_delay: number;
726
+ /** Player vault max vault animation time. */
727
+ plr_vault_max_vault_time: number;
728
+ /** Player vault minimum delay before starting animation. */
729
+ plr_vault_min_delay: number;
730
+ /** Player vault minimum vault animation time. */
731
+ plr_vault_min_vault_time: number;
732
+ /** Player vault rotation limit. Set dbg_vault_lines to true before playing with these values! */
733
+ plr_vault_rotation_limit: number;
734
+ /** Player stamina drain while vaulting. */
735
+ plr_vault_stamina_drain: number;
736
+ /** Player vault top check max hits. Set dbg_vault_lines to true before playing with these values! */
737
+ plr_vault_top_check_max_hits: number;
738
+ /** Player vault top check raycast count. Set dbg_vault_lines to true before playing with these values! */
739
+ plr_vault_top_check_raycast_count: number;
740
+ /** Player vault top detection length. */
741
+ plr_vault_top_detection_length: number;
742
+ /** Player viewmodel state transition speed multiplier. */
743
+ plr_viewmodel_state_transition_speed: number;
389
744
  /** When false, weapon stat clamping is disabled for all players. */
390
745
  plr_weapon_clamp_stats_values: boolean;
746
+ /** Whether progression related buying features and limits are enabled. */
747
+ ro_earnings_enabled: boolean;
748
+ /** Whether Staging branch players get money. */
749
+ ro_infinite_money_in_staging: boolean;
750
+ /** Server join message. Set with chat.set_join_message(message). */
751
+ ro_join_message: string;
752
+ /** Whether players without chat roles are kicked from the game. */
753
+ ro_kick_non_roled_players: boolean;
754
+ /** Whether money functions are enabled. */
755
+ ro_luau_give_money_enabled: boolean;
756
+ /** Whether the Luau mod console environment was loaded. */
757
+ ro_server_console_loaded: boolean;
758
+ /** Reason why spawning is disabled. Set with (set-spawning-disabled-reason reason). */
759
+ ro_spawning_disabled_reason: string;
760
+ /** Whether bots spawn on their own. */
761
+ sv_bot_auto_spawning_enabled: boolean;
762
+ /** Server creation time. */
763
+ sv_creation_time: number;
764
+ /** Server day cycle speed in seconds. A value of 1 is 1:1 to real life. */
765
+ sv_day_cycle_speed: number;
766
+ /** Server gravity. Mapped to workspace.Gravity. */
767
+ sv_gravity: number;
768
+ /** Whether moderator tag in chat is disabled. */
769
+ sv_hide_mod_tag: boolean;
770
+ /** When the match intermission ends, or undefined if there is none. */
771
+ sv_intermission_finish: number | undefined;
772
+ /** Whether the gun editor is only enabled during intermission. */
773
+ sv_intermission_only_editor: boolean;
774
+ /** Whether only preload list attachments are loaded. */
775
+ sv_load_only_preloaded_attachments: boolean;
776
+ /** Geographical server location. */
777
+ sv_location: string;
778
+ /** How long the intermission between matches lasts. */
779
+ sv_map_intermission_time: number;
780
+ /** How long map voting lasts. */
781
+ sv_map_vote_time: number;
782
+ /** Whether map voting is enabled. */
783
+ sv_map_voting: boolean;
784
+ /** Whether modfiles are enabled. */
785
+ sv_modfiles_enabled: boolean;
786
+ /** Whether tracers have random colors. */
787
+ sv_rainbow_tracers: boolean;
788
+ /** Whether the server uses the map's defined preset when switching maps. */
789
+ sv_respect_preset_properties: boolean;
790
+ /** Whether set dressing events are enabled. Events include background audio or passing aircraft. */
791
+ sv_set_dressing_events_enabled: boolean;
792
+ /** How often set dressing events are triggered. */
793
+ sv_set_dressing_events_frequency_hz: number;
794
+ /** Server sound speed in studs. */
795
+ sv_sound_speed: number;
796
+ /** When false, players are blocked from spawning. [SERVER] */
797
+ sv_spawning_enabled: boolean;
798
+ /** Adds an offset in hours to the in-game clock. */
799
+ sv_time_offset: number;
800
+ /** Server timescale. 1 means realtime. Setting this to 0 will break the game. */
801
+ sv_timescale: number;
802
+ /** Tracer bullet size. */
803
+ sv_tracer_size: number;
804
+ /** Whether Volumika is enabled. */
805
+ sv_volumika: boolean;
806
+ /** [READ-ONLY] VIP server owner. */
807
+ readonly vip_owner: string;
391
808
  [key: string]: unknown;
392
809
  };
393
810
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eves26phylum/types",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },